Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

calling scriptinclude from link in catalog

t-takumi
Tera Contributor

I want to place a link in a catalog item (created via Record Producer) that calls a Script Include. Is it possible to generate a link using a Script Include? Also, is there a way to call a script that performs server-side processing without calling a Script Include?

6 REPLIES 6

I want to run a query on a table with a server script when a link is clicked.
After that, I want to export the file.

@t-takumi 

then have a custom type variable and include widget inside it

That widget will have HTML button and when clicked will perform the export logic

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

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