Hide create button on Digital portfolio workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2025 12:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2025 12:33 AM
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);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2025 01:35 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2025 12:38 AM
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
2.Search with your workspace name in Action config column
e.g., here i have taken Asset management
3. Open that record and in 'UX form action layout Item' related list you will find the button you want to remove
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...!!
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2025 01:00 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader