Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Catalog item - MRVS

Garygman
Tera Contributor

Hello,

In my PDI (Zurich) I was able to create a catalog item with a Multi -Row Variable Set (MRVS) - to add additonal user who may also need this item.
Giving me the following information

  • User (reference)
  • Email - bot walk to User question (auto -populate)

In my Dev (Zurich) I can not recreate this catalog item with this auto populate functionality.

Can anyone help me recreate this functionaltity in my DEV?
I'm a newbie so a lot of hand holding may be needed

Any & all help will be greatly appreciated

Thank you  

Gary

1 ACCEPTED SOLUTION

Tanushree Maiti
Kilo Patron

Hi @Garygman 

 

Under variable set ,use an onChange Catalog Client Script on the User Name variable to automatically populate the Email field.

This can be implemented using either a GlideAjax Script Include or the getReference()

 

Here is sample code:

 

TanushreeMaiti_0-1776878123014.png

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

3 REPLIES 3

Tanushree Maiti
Kilo Patron

Hi @Garygman 

 

Under variable set ,use an onChange Catalog Client Script on the User Name variable to automatically populate the Email field.

This can be implemented using either a GlideAjax Script Include or the getReference()

 

Here is sample code:

 

TanushreeMaiti_0-1776878123014.png

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Garygman
Tera Contributor

Hello, @Tanushree Maiti 
Am I missing something here?

Thanks
Gary

No @Garygman , you are on correct path.

 

Add the catalog client script.

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: