Working as expected in desktop level and facing issue in portal level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 06:22 AM
Hi All,
I am new to ServiceNow, can you please help me on this issue.
My scenario is if the location field value is selected empty or if selected any value below functionality is running in my script
Based on location field value selected few values are adding and removing in another filed
if location filed is empty also few values are adding and removing
But here I am facing one issue
in desktop level I am able to see correct format but portal level I am able to see all adding and removing options also if location is empty
Note: please find the below attachment
Advance Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 01:26 AM
if its working fine in desktop and not working in portal then may be check the ui type field in client script.
make ui type field to all if its desktop.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 02:01 AM
Here Ui type field is set as 'All' not desktop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 01:58 AM
Here UI type field is "All" not desktop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 03:12 AM - edited 10-22-2024 03:13 AM
Hi @sontam lavanya ,
Could you please verify that the UI type field in your client script is set to "All"? If it's set to "Desktop," the client script won't work on the Portal.
See the image below:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you found my response **helpful**, I’d appreciate it if you could take a moment to select **"Accept as Solution"** and **"Helpful"** Your support not only benefits me but also enriches the community.
Thank you!
Moin Kazi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~