Working as expected in desktop level and facing issue in portal level

sontam lavanya
Tera Contributor

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.

5 REPLIES 5

abhi159
Kilo Sage

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.

 Here Ui type field is set as 'All' not desktop

sontam lavanya
Tera Contributor

Here UI type field is "All" not desktop

Moin Kazi
Kilo Sage
Kilo Sage

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:

MoinKazi_0-1729591841161.png

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~