<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: allow-forms permission is not set. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/allow-forms-permission-is-not-set/m-p/982580#M335322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&amp;nbsp; I have answered my own question.&amp;nbsp;&amp;nbsp; If you are interested, here is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set the Sandbox attributes for any of the needed attributes, I located and modified the Script.js file int he extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step by step:&lt;/P&gt;&lt;P&gt;Locate the WebPageViewer extension&amp;nbsp;&amp;nbsp; mine was located at "\ProgramData\QlikTech\QlikViewServer\Extensions\Objects\QlikView\Examples" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit the Script.js file at line &lt;/P&gt;&lt;P&gt;el.setAttribute('sandbox', '');&lt;/P&gt;&lt;P&gt;Add the attribute you would like to include - Allow-Forms in my case&lt;/P&gt;&lt;P&gt;el.setAttribute('sandbox', 'allow-forms');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and you are set.&lt;/P&gt;&lt;P&gt;I hope this helps someone else out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Dec 2015 15:08:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-24T15:08:21Z</dc:date>
    <item>
      <title>allow-forms permission is not set.</title>
      <link>https://community.qlik.com/t5/QlikView/allow-forms-permission-is-not-set/m-p/982579#M335321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am new to QLIK...&amp;nbsp; And I have searched for the answer to my question.&lt;/P&gt;&lt;P&gt;I am using the "web page viewer" extension to insert a simple PHP form into my QlikView page to collect actions for failed KPI's.&amp;nbsp; The PHP page is using a form of course and it works great in ie but I receive the an error in Chrome indicating &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Blocked form submission to '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://xxxxxxxxxxx/rractions.php?id=1" rel="nofollow"&gt;http://xxxxxxxxxxx/rractions.php?id=1&lt;/A&gt;&lt;SPAN&gt;' because the form's frame is sandboxed and the 'allow-forms' permission is not set."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Researching this I understand I QlikView is using a sandbox attribute:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;iframe id="ifrm" sandbox="" frameborder="0" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://xxxxxxxxxx/rractions.php?id=1" rel="nofollow"&gt;http://xxxxxxxxxx/rractions.php?id=1&lt;/A&gt;&lt;SPAN&gt;" style="width: 1507px; height: 500px;"&amp;gt;&amp;lt;/iframe&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further research concluded using sandbox with no attribute provides the maximum security settings.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: 'Segoe UI', Arial, sans-serif; font-weight: 400; margin: 10px 0; font-size: 30px; color: #000000;"&gt;Definition and Usage&lt;/H2&gt;&lt;P style="color: #000000; font-family: Verdana, sans-serif; font-size: 15px;"&gt;The sandbox attribute enables an extra set of restrictions for the content in the iframe.&lt;/P&gt;&lt;P style="color: #000000; font-family: Verdana, sans-serif; font-size: 15px;"&gt;When the sandbox attribute is present, and it will:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;treat the content as being from a unique origin&lt;/LI&gt;&lt;LI&gt;block form submission&lt;/LI&gt;&lt;LI&gt;block script execution&lt;/LI&gt;&lt;LI&gt;disable APIs&lt;/LI&gt;&lt;LI&gt;prevent links from targeting other browsing contexts&lt;/LI&gt;&lt;LI&gt;prevent content from using plugins (through &amp;lt;embed&amp;gt;, &amp;lt;object&amp;gt;, &amp;lt;applet&amp;gt;, or other)&lt;/LI&gt;&lt;LI&gt;prevent the content to navigate its top-level browsing context&lt;/LI&gt;&lt;LI&gt;block automatically triggered features (such as automatically playing a video or automatically focusing a form control)&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #000000; font-family: Verdana, sans-serif; font-size: 15px;"&gt;The value of the sandbox attribute can either be just sandbox (then all restrictions are applied), or a space-separated list of pre-defined values that will REMOVE the particular restrictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But, of course presents my issue.&amp;nbsp; Is there a way to enable forms and other attributes?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have thought of reversing the solution which would work, embedding QlikView into my PHP.&amp;nbsp; But that has a separate set of complications.&amp;nbsp; Thanks in advance for any reply.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 14:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/allow-forms-permission-is-not-set/m-p/982579#M335321</guid>
      <dc:creator />
      <dc:date>2015-12-09T14:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: allow-forms permission is not set.</title>
      <link>https://community.qlik.com/t5/QlikView/allow-forms-permission-is-not-set/m-p/982580#M335322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&amp;nbsp; I have answered my own question.&amp;nbsp;&amp;nbsp; If you are interested, here is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set the Sandbox attributes for any of the needed attributes, I located and modified the Script.js file int he extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step by step:&lt;/P&gt;&lt;P&gt;Locate the WebPageViewer extension&amp;nbsp;&amp;nbsp; mine was located at "\ProgramData\QlikTech\QlikViewServer\Extensions\Objects\QlikView\Examples" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit the Script.js file at line &lt;/P&gt;&lt;P&gt;el.setAttribute('sandbox', '');&lt;/P&gt;&lt;P&gt;Add the attribute you would like to include - Allow-Forms in my case&lt;/P&gt;&lt;P&gt;el.setAttribute('sandbox', 'allow-forms');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and you are set.&lt;/P&gt;&lt;P&gt;I hope this helps someone else out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 15:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/allow-forms-permission-is-not-set/m-p/982580#M335322</guid>
      <dc:creator />
      <dc:date>2015-12-24T15:08:21Z</dc:date>
    </item>
  </channel>
</rss>

