- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-27-2023 03:01 AM
Hi All,
I hope you are doing fine.
Today I was working on my Youtube emails when I received an email from one of the subscribers where he asked me for the use case where they want to show/hide fields based on the UI action.
Let's look into the use case now,
UseCase: We have to have a UI action or in simple terms, we can call it a button that can alter the visibility of the defined button. It seems to be a pretty good use case if you have to drive the visibility of certain actions based on the UI action and then you define the roles of the button.
Implementation:
- For the implementation of this Usecase, we will be taking the example on the incident form.
- We will try to change the visibility of description field of the description field based on the button toggle description.
Let's understand what is UI action in ServiceNow first
ServiceNow UI Action:
- UI actions include the buttons, links, and context menu items on forms and lists. Configure UI actions to make the UI more interactive, customized, and specific to user activities.
- Administrators and users with the ui_action_admin role can define UI actions.
UI action controls you can create a UI action to provide any of these controls:
- A button on a form.
- A context menu item on a form appears when you open the form context menu or right-click the form header.
- A related link in a form.
- A button in the banner on top of a list.
- A button at the bottom of a list.
- A context menu item on a list appears when you open the list context menu or right-click the list header.
- A menu item for the action choice list is at the bottom of the list.
- A related link is at the bottom of the list.
ServiceNow Usecase Field Visibility Based on Button
If you like this video please subscribe to my channel Technomonk for more such videos in the future.
Regards,
Amit Gujarathi
(Technomonk)
Technomonk Youtube: https://www.youtube.com/c/TechnoMonkAmit
Amit Gujarathi Linkedin: https://www.linkedin.com/in/amit-gujarathi-98632a175
TheTechnomonk.com : https://thetechnomonk.com/
ServiceNow Community Amit Gujarathi: https://www.servicenow.com/community/user/viewprofilepage/user-id/265565
GitHub: https://github.com/amigujarathi