Get URL String Dynamically from Web Browser Component during Runtime

Hello,

I wanted to know if there is a way where i can read the url from the webcomponent url.
Because, if i change the url in runtime mode, it does not get reflected elsewhere and i would like to save it some string and use it for further refrences. Is it possible?

Capture1

{reference-to-your-component}.browser.url should be an accurate string representing the current URL in the component, eg, on a button:
event.source.parent.getComponent("Web Browser").browser.url.

2 Likes