Skip to main content

Within a Thinkwise Application (Universal GUI), we have a custom screen that's displayed in an Iframe. To send results from this Iframe the Development team tries to use a POST-command, that is blocked in the Iframe. ‘Blocked form submission to because the form's frame is sandboxed and the ‘allow-forms’ permission is not set’.

Can we solve this by adding the ‘allow-forms’ permission ‘sandbox’ attribute within the I-frame?

<iframe src="afnamedashboard.html" sandbox="allow-forms"></iframe>

 

Hi,

I’m assuming you are using the Preview control to embed the custom screen. 

Are you using an URL control as preview source or a FILE UPLOAD with an HTML file as preview source?


We are using an URL control as preview source.

 


Currently, the sandboxing attributes of a previewed URL control cannot be modified. However, they do allow for an alternative to form submission. You can use javascript (XHR/XmlHttpRequest) to submit data to the server.

Would this be possible in your scenario?

Also, feel free to submit a topic in the Ideation section for configurable sandbox settings for this component.


Thanks so far, we will have a look on the given solution. 

 


Give solution works for our scenario. Thanks!