Hide create button on Digital portfolio workspace

vamsi52
Tera Contributor

It is possible to hide the create button on Business Application form in Service Portfolio management.

4 REPLIES 4

Community Alums
Not applicable

Hi @vamsi52 

Yes, You can add a condition to hide it based on certain criteria (e.g., user role, conditions related to the Business Application, or any custom logic). In the UI Action record, check for a condition under the Condition field.

OR

use following client script:

if (g_user.hasRole('admin'))

{

g_form.setDisplay('create_button', false);

 

Need to hide the create button on Business Application form in Service Portfolio management workspace. When I checked in UX form actions, create action is not available.

 

Screenshot 2025-02-17 124916.png

Vishal Birajdar
Giga Sage

Hi @vamsi52 

 

Not sure if your requirement is in workspace , but if its in workspace then you can remove it from Form action layout.

1. Navigate to Form action layout

VishalBirajdar_0-1739781217941.png

 

2.Search with your workspace name in Action config column

e.g., here i have taken Asset management 

VishalBirajdar_1-1739781317544.png

 

3. Open that record and in 'UX form action layout Item' related list you will find the button you want to remove

VishalBirajdar_2-1739781426814.png

 

From here you can remove that button entry.

 

OR 

 

If you want to hide it from particular user or any other condition then you can use condition field for that button.

 

Not sure if this is what you are looking for...have a try...!!

 

 

 

 

 

 

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Ankur Bawiskar
Tera Patron
Tera Patron

@vamsi52 

why not give correct table.None CREATE ACL and restrict that?

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