How to set visibility of a variable only on a agent screen not on a portal?

Sri56
Tera Contributor

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

 

1 ACCEPTED SOLUTION

palanikumar
Mega Sage

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

Thank you,
Palani

View solution in original post

1 REPLY 1

palanikumar
Mega Sage

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

Thank you,
Palani