Hide 'New' button available in the related list if SME group is Empty

BKSharma
Tera Contributor

Hi,

I've a requirement as per below screenshot -

  • The 'New' button should be hidden in KB Article tab when SME Group is empty.

  • Users should only be able to submit Knowledge Articles if there is an associated SME Group exist.

BKSharma_0-1754396118595.png

 

 

I see that above 'New" button is the existing UI action button available in kb_knowledge table as below -

BKSharma_1-1754396118522.png

 

Can you please help me to get this done.

 

Thank you.

10 REPLIES 10

Hi @Ankur Bawiskar , then what could be the solution?

@BKSharma 

I already gave it above on Tuesday, please check that

AnkurBawiskar_0-1754575295679.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@BKSharma 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar , can't I just append another condition '&& u_sme_group!=NULL' as below in the same 'New' UI Action -

 

BKSharma_0-1754457100375.png

 

Because the requirement is on 'u_it_service_offering' table and KB Article related list tab is available on that page only which refers to Knowledge table.

ChallaR
Mega Guru

Hi @BKSharma ,

 

go to the related list and right click>configure >list control> omit new button> give the condition like 

parent.field(whatever the field name )  = = ""

answer = true ;

 

Thanks,

Rithika