Hi, all
I would like to know Traditional web app can specify sandbox attribute of iframe tag?
My goal is to limit available functions displayed in the iframe.Regards,Asami
Hi Asami,
I believe you are using below iframe web block to load the url.
If you are using Iframe web block then there is no direct way to add sandbox attribute but you can add it by using javascript.
Other ways to add Iframe in outsystems web application are listed below,
Option 1:
Using HTML web block
If you use HTML web block then you directly add Iframe Tag like this "<iframe src="demo_iframe_sandbox.htm" sandbox></iframe>"
Option 2:
Use expression by setting it property "escape content" as "No"
Similar to HTML web block you directly add Iframe Tag like this "<iframe src="demo_iframe_sandbox.htm" sandbox></iframe>"
Please try these suggestions and let you know if you still need some assistance.
Hi, RajanThank you for teaching me.
I'm trying what you've told me, but it's not displayed in the first place.I would like you to tell me if you know...Regards,
Asami
As I said if you are using iframe web block then there is no direct way to add the "sandbox" attribute.
Instead of try with option 1 or option 2 which I suggested in the above thread.
Hi, RajanThank you for teaching me a lot of things.
Regards,
Hope my suggestion solved your problem.
So please mark this as solution.