Please tell me how to call UI page from server side script!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 07:36 AM
I was using client side UI actions.
Show a popup using "confirm("text")",
After clicking OK, execute the main processing server-side script with "GlideAjax".
After saving the record using "g_form.save( );", I was supposed to pass the sys_id of the record to the main script before processing it, but for some reason it was not saved.
The server-side script "current.update( )" works.
So I wanted to show a popup after saving on the server side!
I thought "confirm("text")" could only be used on the client side, so I wanted to call the UI page.
Is it possible to call the UI page from the server side?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 07:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 05:29 PM
sorry i can't share the code
I would like to know if the UI page can be called from the server side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 05:59 PM
Nope! I don't think so its worked from Server side
But you can use "gs.addErrorMessage('text')" OR "gs.addInfoMessage('text')"
for showing the messages on form from Servers end.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact.