- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 03:31 AM
i have one variable set with one variable and this variable should be visible in requested item variables and sctask respectively but not on portal catalog view.
How can i achieve this one?
I tried with ui policy and catalog client script
It didn't work
Please someone help!
Thanks,
Sri
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 04:02 AM
Hi Sri,
Create a Catalog Client Script with following:
1) UI Type = "Mobile / Service Portal"
2) Type = onLoad
3) Inside the script field write code to hide the variable
This way your variable is hidden only in Service Portal view.
Thank you,
Palani
Palani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 04:02 AM
Hi Sri,
Create a Catalog Client Script with following:
1) UI Type = "Mobile / Service Portal"
2) Type = onLoad
3) Inside the script field write code to hide the variable
This way your variable is hidden only in Service Portal view.
Thank you,
Palani
Palani