now mobile app catalog item submit button non-representation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 06:50 PM
Hello, everyone
I have hidden the submit button of the catalog item on the computer side, but this button is still displayed on the now mobile. Does anyone have a good solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 11:39 PM
Hi @system,
There is a way through which you can control the button's visibility.
A button is considered as a 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.
- Now, coming to your question, you can disable the visibility of the button on the Mobile view.
- You can restrict UI actions to appear only on specified form views.
Use the UI Action Visibility related list on the UI Action form to restrict a UI action by view. A UI action is available for the specified view according to the following rules:
- If there are no visibility rules, the action appears on all views.
- Any exclude rule on a given view means that the action does not appear on that view.
- If there is at least one include rule, then the action appears only on views that are specifically included.
For example, since you want to disable the visibility of the button on the Mobile view of the form, follow the below steps :
- Navigate to UI action table from the filter navigator.
- Search with the UI action name, in your case 'Submit' and add the table name as well.
- Open the UI action and scroll down to the 'UI Action Visibility' related list and create a new record by clicking on the 'Edit' button.
- Select the view where you don't want to show the button, in your case the 'MobileView/Mobile' will be the option.
- Once you submit, a new record will be created under the 'UI Action Visibility' section. If the visibility is selected as 'Include', change it to 'Exclude' so that the button will not be available in the selected view.
- You can checkout the below screenshot for more reference.
For more information, checkout the ServiceNow product documentation below.
https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/list-administra...
If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.
Thanks,
Shreya Wani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2023 05:34 PM
Thanks you. This operation seems to have no effect on the portal and now mobile. My project is very complicated. On the computer side, the send button is hidden when the reference is selected (using catalog client script). There is no problem on the computer side, but the now mobile app reference cannot hide the send button.