- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Everyone,
I am on Zurich and I have two questions regarding Application module links in Application Navigator:
- Is it possible to set module link type t existing record and to open this record in popup/modal (similar to preview modal but with option to edit record). I just don't want record to be opened in same window or new tab. Instead I want to keep current page in background and display record in popup modal in the middle of the page.
- is it also possible for Module link to run client or servers script from argument? What I am trying to achieve is that clicking Module link will directly update specific record without displaying it. Click on module link should change field value and save changes. I know I can select Link Type "Script" but there is confirmation page for these scripts asking if you want to run the script.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
1. There is no out of the box module link type that opens a record form in a modal dialog.
2. Module type script intentionally shows a confirmation for safety. Removing that confirmation from a script type module is not supported and is a security risk. However, you can achieve a silent server side update via a controlled endpoint and then redirect.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
1. There is no out of the box module link type that opens a record form in a modal dialog.
2. Module type script intentionally shows a confirmation for safety. Removing that confirmation from a script type module is not supported and is a security risk. However, you can achieve a silent server side update via a controlled endpoint and then redirect.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Thank you for you reply, can you elaborate on point 2? Controlled endpoint? Like an url with arguments?
Best Regards,
Adrian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You can use Scripted REST API(server side)+URL module.
Create a Scripted REST API
(e.g., PATCH /x_your_scope/update-ticket) that:
Validates the caller (ACLs, roles, API keys/JWT if needed).
Performs the update on the target record (GlideRecord).
Returns JSON (or a 302 redirect).
Create a Module of type URL pointing to a platform page that invokes this API (via a short Processor or UI Page), or call the API directly if users are authenticated and cookies are valid.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
Ok thank you for explaining this. I will test solution and decide if this is worth implementing.
Br,
Adrian
