Variables not visible after the Custom with Label variable type

devendranarun
Tera Guru

Hello All,

2 variables (List collector and single line text) is not visible in the Requested item.

These variables are after a "Custom with Label" variable type which has a macro.
This has an onLoad client script.

I see that the visibility is not set to false.
Also, for testing, i have disabled the client script, and the variable but still the result is same.

Any help would be highly appreciated!

Best Regards,
Arun Devendran

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@devendranarun 

It would be nice if you share the catalog item variable configuration image and how the form looks like?

Did you debug by inactivating all the client scripts or ui policies?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Aman Singh_
Kilo Sage

Hi,

 

Few check.

 

Are the variables available on the catalog item view that is while ordering?

If yes, then check the boxes applies on Requested Item is true or not & UI Policy/client script applied on those variable to set the visibility is true or not

 

find_real_file.png

 


Mark Correct/helpful, if applicable, Thanks!!

Aman

Aman Singh_
Kilo Sage

@devendranarun 

I just wanted to check-in on this and see if my reply above helped and guide you Correctly.

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

If not, please let us know if you need some more assistance.

 

Thanks,

Aman

Gaurav Shirsat
Mega Sage

Hello

Can You check any of Your Catalog UI Policy Which is Making Your Variable Visibility False.

find_real_file.png

Or Check Your any of the onLoad Catalog Client Script which Might be causing those variable to ReadOnly on RITM Form View. Same Applies on RITM View might be checked there

g_form.setVariablesReadOnly(' Your Variable Name',true);

or g_form.setReadOnly('Your Variable Name',true);

 

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

Ankur Bawiskar
Tera Patron
Tera Patron

@devendranarun 

It would be nice if you share the catalog item variable configuration image and how the form looks like?

Did you debug by inactivating all the client scripts or ui policies?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader