g_modal - Is there any documentation? What can we change in the modal dialog?

Michael Chang1
Tera Guru

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?

find_real_file.png

 

3. or, how can i add some text between the title and the fields in g_modal.showFields?

find_real_file.png

6 REPLIES 6

Maik Skoddow
Tera Patron
Tera Patron

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.

Michael Chang1
Tera Guru

Hi Maik,

 

Yeah, came across this article. but I not planning to build a custom component though.

Okay, there is another article with more explanations regarding the configurations of g_modal: https://www.ashleysn.com/post/workspace-ui-actions

yeah.. I have read it as well but still couldn't find what I want.