Get location.href and pass it to other nodes

For my project I need to get the location.href displayed in the browser used for accessing the UI dashboard (i.e. localhost:1880/ui) and then use this information in other flows, or better set this info in a flow/global variable. I've tried to use a ui_template node with a simple script that shows a window with the browser location.href) but I didn't find a way to grab this info and bring it inside my flow. Is there a way for doing that?

Did you consider using instead the ui_ui_control node ? As far as I know it will return to the runtime the very same information you would get from window.location.href

b-1

b-2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.