catalog client script

Shrabanti
Tera Contributor

Hello Team,
In a catalog item i added one variable( label )and it should be visible for that user who has bu_france role but it's not reflecting in ESC portal

Shrabanti_0-1705479308270.png

thanks
shrabanti

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi Shrabanti,

Can you try using

if(result==true || result=='true') on line 3 instead for a check.

Also, try adding some alerts to understand if any of is called.

View solution in original post

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Shrabanti,

Can you try using

if(result==true || result=='true') on line 3 instead for a check.

Also, try adding some alerts to understand if any of is called.

Chetan Mahajan
Kilo Sage
Kilo Sage

Hello @Shrabanti ,

Could you please confirm whether the currently logged-in user possesses the "bu_france" role? Additionally, kindly verify the role, considering that you mentioned "bu_france" in the question, while the script uses "BU_france."

Sandeep Rajput
Tera Patron
Tera Patron

@Shrabanti Are you sure about the role name is it BU_france or bu_france. If it is the later then update your script accordingly.