Variables that are not showing in Catalog Item form are visible in portal

Hola Ola
Giga Guru

Hello, 

I'm running into an issue here and not sure what to do about it.

I have an existing form, o which I added 2 additional fields (to only be seen by certain people with a specific role). On the backend, it is working as designed.

 

However, when I go to the service portal, those fields are visible to everyone!

 

3.png

 ______________________________________________________________

 

1.png

 __________________________________________________________________

 

1.png

1 REPLY 1

shyamkumar VK
Kilo Patron

@Hola Ola , did you make this variables mandatory at variable level, I mean did you set this two field to be mandatory while configuring the variables if so you need to make them un mandatory via script then it gets hidden , IF So modify your script as per my example 

 

Ex;

g_form. setMandatory('variable_name', false) g_form.setDisplay('variable_name', false).

 

 

Regards,

Shyamkumar

 

Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar