Is there a way to run scripts in a custom Tealium tool that reference the extension's window object, rather than that of the open page? I'd like to be able to append children to some nodes in the extension's window, but can't figure out how to / if I can reference it. Thanks!
All the best,
Just updating the reply. All communication from the page to the Tool window happens via an Iframe postMessage, so all data has to be passed via the message object from the Tools corresponding js file. Simply read what you need from window in there, and pass it to the Tool via the provided send method.
Hi @kevin_faurholt -
Thank you for the reply! Much appreciated. Given this setup, is there any way to use the message object to:
For example, in my message object the script retrieves an object from the page's window, manipulates it, then sends it to the popup. Given the size of this object, I'd like to add some fancy twirl downs for easier navigation, but that would require having my own script running in the popup's sandbox or the ability to register custom helpers.
Let me know if I'm misunderstanding the mechanics or missed something in the docs. Thanks again!