how to bring attachment in modal window on click of a button in record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 07:24 AM
hi ,
i have created a button on record producer . on click of that button attachment / template should get displayed in modal window on same page and we need to store that template or attachment in servicenow or call template as per region .
for eg i have variable as region consisting of india and japan .
if i select india and click on display button it should show template(A) attached to it in a modal window and if i select japan and click on display button it should show template (B).
in our case if we click on display button its taking to another page / tab in google .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2025 07:44 AM
Why not use OOTB file attachment variable and have those many variables based on region?
Another way
you will have to use variable of type Custom and then add widget to it.
This widget will help user browse the file from local machine and then once you get base64encoded data of the file, you can place that file on the target record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader