UI Builder 1st time login user to show confirm modal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 05:44 AM
Hi,
I have this scenario when a user has log in the 1st time in an UI Builder portal.
I want to show a confirm message modal to redirect him for a KB article. (Since guided tours are not working on UIB).
Will this be possible?
I have check @context.session but seems not to find anything useful for my implementation.
And creating a table just for tracking that would be overkill.
Thanks,
Tads
- Labels:
-
Now Experience UI Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 06:16 AM
You might need to create a new variant with a condition check. If the condition is true, show this variant which shows the confirmation message. If false, then don't show the message and continue. You'll need a flag somewhere to track true/false. https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/ui-builder/task/...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2022 06:23 AM
I think you'll either need to use a table or something like user preferences to track whether the user has been in the experience before, then you would write a data resource that can check and set the user preferences.
Once you have that down you can add a modal to your experience's landing page (you'll only be able to do this on a page by page or variant by variant basis, not the entire experience) that gets triggered on page load if the person hasn't yet visited the experience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 08:44 AM
Hello there. I was wondering if you were ever able to accomplish this and, if so, how. I am trying to accomplish something similar. Thank you!