hello everyone,
I have developed a web page through outsystems that I want to embed into an existing page this is working fine but I want to be able to pass a token from the preexisting web page to the outsystems web page but I'm not sure how to go about doing this.
I'd be thankful for any kind of help thanks!
Hi Johara,
Is the existing page also build in OutSystems? If so, check out Eduardo’s solution post:
https://www.outsystems.com/forums/discussion/37296/iframe-web-pattern/
If it’s not built with OutSystems, same thing still applies. You can just add an input parameter (e.g. param Token) to the OutSystems webscreen that you’ll be placing inside the iFrame. From the existing site you can call the Outsystems page URL inside the iFrame: https://environment/ModuleName/Websreen.aspx?Token= + TokenValue.
Hope this helps!
Regards,
Nordin
Nordin Ahdi wrote:
Sorry for the late reply, thanks for the answer!
I do have a question though the field of the token I want to pass could have different values could I use the same method you mentioned but assign the field I am interested in instead of the value(pass whatever is in that field to the input parameter)?
Yes you could since the SourceURL property of the iFrame widget accepts expressions.
In the screenshot below you can see an example.