how to call a modal window widget in catalog client script?

sagarikamodiam
Tera Contributor

Hi Guys,

 

I am new to service portal. I have a widget to show a modal window. But how to call that particular widget in a catalog client script to replace GlideDialogwindow() is my question?

9 REPLIES 9

Works great.

Result:

find_real_file.png

Code as per Mike:

find_real_file.png

where we need to write this code for getting into portal please explain me

 

This worked great!

One thing to note (to those that say it's not working), make sure you're UI Type on the Catalog Client Script is either "All" or "Mobile / Service Portal"... not "Desktop".

 

find_real_file.png

find_real_file.png

Community Alums
Not applicable

It Worked for me 

Thanks,

Ankit

Pratima G
Tera Contributor

Any ideas, how we can pass value FROM widget TO Catalog client script ?

In my case, I have a spmodal window popping up on change of a particular field, there i'm calling a widget to show some radio options to select. Once the user selects any option and click on OK, it should send this selected value to catalog script from which i can set field values on the form.