Need to hide only one variable in esc portal only, How ?

jaiho_rai
Kilo Sage

Hi everyone,

i want to hide the one variable (catalog form )only from esc portal how to achieve this ?

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @jaiho_rai ,

I checked your problem you can create onLoad client script as I showed in below image 

SarthakKashya2_0-1713426874707.png

 

function onLoad() {
   //Type appropriate comment here, and begin script below

   alert('Here');
   g_form.setDisplay('select_value',false); 
}

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak

 

 

 

View solution in original post

4 REPLIES 4

Community Alums
Not applicable

Hi @jaiho_rai ,

You can refer below steps 

SarthakKashya2_1-1713366673671.png

 

You can open the variable and check true the hidden value

 

SarthakKashya2_2-1713366727978.png

 

Here's the result 

SarthakKashya2_3-1713366760294.png

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak

 

 

 

Hi @Community Alums , 

I tried but that will hide for everywhere , instead only for portal.

 

overall what I needed, that particular variable in catalog item , should only show in native not in any portal .

Community Alums
Not applicable

Hi @jaiho_rai ,

I checked your problem you can create onLoad client script as I showed in below image 

SarthakKashya2_0-1713426874707.png

 

function onLoad() {
   //Type appropriate comment here, and begin script below

   alert('Here');
   g_form.setDisplay('select_value',false); 
}

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak

 

 

 

James Chun
Kilo Patron

Hi @jaiho_rai,

 

I am guessing that you want to hide it in the Catalog Item only.

If so, you can create a UI Policy and UI Policy action. Ensure 'Applies on a Catalog Item view' is selected on the UI Policy.

JamesChun_0-1713426703813.png

 

Cheers