FrameEmbedding

I am somewhat new to Xojo please forgive me if this is a stupid question. I am trying to iframe with a web application on xojo cloud. I was advised to add the following to the App -Event Handlers - Opening

Self.security.FrameEmbedding=WebAppSecurityOptions.FrameOptions.Allow

When I try to compile I get “WebAppSecurityOptions” has no member named “FrameEmedding”

Thanks in advance for any advice!

Peter

In App.Open:

Self.Security.FrameOption = WebAppSecurityOptions.FrameOptions.Allow

The code in the documentation does not work as is. It’s only a small tweak:

self.Security.FrameOption = WebAppSecurityOptions.FrameOptions.Allow

Edit: Heh beaten to it!

Thank you, thank you!! Worked!

Regards,

Peter

1 Like
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.