Rich Content Widget – How to Add Script or Dynamic Data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2025 09:01 AM
Hi Community,
I’m trying to use the Rich Content widget in Employee Center Pro to show building info based on the current user. I want to:
- Get the user's building ID from the User table
- Use it to pull details from the Building table (address, features, etc.)
- Display this info dynamically in the widget
Is there a way to add scripts or dynamic variables in the Rich Content Editor to achieve this?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2025 11:42 AM
Hi @jing_a_zeng
This article might help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 06:49 AM
Hi Rafael,
Thanks for the link! It’s helpful for understanding dynamic microsites, but I didn’t see where we can add scripts or dynamic variables to query tables like User or Building.
I’m trying to show building info based on the current user—any idea how to inject that kind of dynamic data into the Rich Content widget?
Appreciate any tips!
Best,
Jing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 06:46 AM
Hi Rafael,
Thanks for sharing the link! I went through it, and while it gives a good overview of dynamic topic microsites and Rich Content usage, I didn’t see specific guidance on how to add scripts or dynamic variables to query tables like User or Building directly within the Rich Content widget.
My goal is to display building details dynamically based on the current user's building ID. Ideally, I’d like to:
Retrieve the building ID from the User table
Use that to query the Building table for address and features
Inject that info into the Rich Content widget dynamically
Do you know if there’s a supported way to embed scripting in the Rich Content Editor, approach for this kind of dynamic data binding?
Appreciate any pointers!
Best,
Jing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2025 06:53 AM
Hi Rafael,
Thanks for the link! It’s helpful for understanding dynamic microsites, but I didn’t see where we can add scripts or dynamic variables to query tables like User or Building.
Appreciate any tips!
Best,
