[UI Builder / Workspace] How open a modal instead of a page from side navigation button?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello, everyone!
Is it possible to open a modal instead of a page by clicking on Side Navigation button?
Thanks in advance for any help 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Fernanda Maia F ,
please bind this modal opening to "Page Property Change" event instead of "Page Ready" and try to send there for example true value. If this doesn't work, try to send current timestamp each time this is clicked, meaning the time will always change and it should trigger the new page load request again.
Please mark as helpful, if this solution helped you.
Thank You

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
How to pass the time in the parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
@Fernanda Maia F , i have no idea whether this will work but in your chrome_toolbar JSON update the JSON like this:
"routeInfo": {
"route": "your-page-route",
"fields": { // Here are your mandatory URL parameters, make sure that your page have it with the exact name (mine is time-stamp)
"time-stamp": Date.now(),
},
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I dont think thats a cache issue rather it will work that way. You have added it on page ready event, so once the page is ready it will show up for the first time. after that if you refresh again then only it will come up again, because the page ready event runs only once. and the navigation icons are there only for page redirection and no any events mapped to it, so you can't trigger that open modal dialog event again. so it will not open.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Is there no other way to trigger a modal from the side navigation button?
The inbox do not open a page either, just a side panel. How is this done?