Catalog item client scripts

sajal_chatterje
Tera Contributor

Hello comunity,

 

Is there a way to populatrequested for related attributes like region,location etc without client script?Please let me know if there is any alternative apart from client script(on change).

 

Thanks,

Sajal

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hello,

Yes, you can use something like catalog lookup definition or in later versions of the platform, you can use "auto populate" feature within the variable setting:

AllenAndreas_0-1709002611081.png

For the latter, you can simply select the other variable you want to pull from, then select the value you want to set for the specific variable you're setting it on.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

3 REPLIES 3

Danish Bhairag2
Tera Sage
Tera Sage

Hi @sajal_chatterje ,

 

If u want it on catalog item form n u r on Utah or higher version then u can use Autopopulate feature provided by servicenow which requires no scripting.

 

Plz check this link on how to use it

https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...

 

Thanks,

Danish

Allen Andreas
Administrator
Administrator

Hello,

Yes, you can use something like catalog lookup definition or in later versions of the platform, you can use "auto populate" feature within the variable setting:

AllenAndreas_0-1709002611081.png

For the latter, you can simply select the other variable you want to pull from, then select the value you want to set for the specific variable you're setting it on.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thank you @Allen Andreas .It really worked.