how to use ui action in service catalog

jieLian123
Tera Expert

how to use ui action in service catalog.

I am using record producer and I need to create a customized button and add some server side scripts.

but I don't know how to do it.

Btw, I know the way to create ui action in to a platform form.

but when it come to record producer, I don't know how to call some server side scripts.

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage
Tera Sage

Hi @jieLian123 ,

 

You can create a variable of type custom n in that u can add a widget. In the widget u can add html code,client code n server code to accomplish ur requirement.

 

Thanks,

Danish

 

View solution in original post

4 REPLIES 4

Danish Bhairag2
Tera Sage
Tera Sage

Hi @jieLian123 ,

 

You can create a variable of type custom n in that u can add a widget. In the widget u can add html code,client code n server code to accomplish ur requirement.

 

Thanks,

Danish

 

Amit Verma
Kilo Patron
Kilo Patron

Hi @jieLian123 

 

Have you explored Maintain Cart Layouts module ? It could be accessed under Service Catalog>>Catalog Definitions>>Maintain cart layouts.

 

AmitVerma_0-1707110625157.png

 

Another possible way is to have a custom variable created with a widget mapped to it as suggested by @Danish Bhairag2 .

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

I am not very clear about 'Maintain Cart Layouts'.

Can you tell me how to use it to solve my issue.

It could be used to add widgets or screens in the shopping cart. Please have a look on the below posts to understand it better :

https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-manage...

https://www.servicenow.com/community/itsm-blog/customize-your-service-catalog-s-shopping-cart/ba-p/2...


Please mark this response as correct and helpful if it assisted you with your question.