g_modal - Is there any documentation? What can we change in the modal dialog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2021 12:57 AM
Hi, recently Im build a workspace for a new application using AES, and want to add a new UI action. So came across this g_modal that allow us to prompt confirmation or a form in dialog, but the documentation no where to be found except some blogs and article out there.
1. Does SNOW publish an official documentation how we can use g_modal?
2. How can I change the button title for the confirm button in g_modal.confirm?
3. or, how can i add some text between the title and the fields in g_modal.showFields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2021 01:08 AM
Hi
you can start with that great article: https://www.dylanlindgren.com/2020/07/22/creating-and-using-modal-components-in-agent-workspace/
Kind regards
Maik
If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2021 01:11 AM
Hi Maik,
Yeah, came across this article. but I not planning to build a custom component though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2021 01:14 AM
Okay, there is another article with more explanations regarding the configurations of g_modal: https://www.ashleysn.com/post/workspace-ui-actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2021 01:34 AM
yeah.. I have read it as well but still couldn't find what I want.