- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 06:59 AM
Hey, everyone.
Trying to find out how to get the current URL in Client Script created in UI Builder. It seems I have no access to 'window' object. Any other alternatives?
Solved! Go to Solution.
- Labels:
-
UI Builder : Next Experience

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 01:51 PM
Yeah you should be able to grab a parameter from the url and use it for the src url on the iframe. Unfortunately there's not a great way for the contents of the iframe to communicate back with the UIB page using the oob component. You could build a custom iframe component that would do that, though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:33 AM
Hi , I want to access the window object inside of this function but I am not able to access it. Please suggest some way to access the window as I want to pass some values from the window object into the iframe URL as query params.