hiding tabs /related list based on workspace view

servicenow14710
Tera Expert

How to hide tab/related list like user or device allocation in software asset workspace.

Thanks.

6 REPLIES 6

Sid_Takali
Kilo Patron
Kilo Patron

Hi @servicenow14710 

Create UI Policy for the form with condition as your requirement.

To hide the related list Add the below code in the Execute if True script section.

g_form.hideRelatedList('related_list_table_name');

To show the related list Add the below code in the Execute if False script section.

g_form.showRelatedList('related_list_table_name');

 

Please mark reply as Helpful/Correct, if applicable.

Thanks,

Siddharam

software e.png

 

 

Hello @Sid_Takali : Thanks for quick response.

I need to create this condition on software asset workspace view which is not oob , unable to find the condition as how to give for this workspace. I need to know how to give condition on workspace.

Hi @servicenow14710 can you specify form which you want to hide Related List?

 

Regards,

Siddharam

hi @Sid_Takali its for table software entitlement(alm_license).Thanks.