<?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 Where to set 'allow-forms' permission in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Where-to-set-allow-forms-permission/m-p/1927670#M30209</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an external library (lineup) in my custom visual, where I have a dialog with form submission. I am getting this error, when I submit the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuFa_0-1624954845665.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/542928i65998C61EA4A8680/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuFa_0-1624954845665.png" alt="GuFa_0-1624954845665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I set allow-forms to allow form submision?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I setted it on developer console but it didnt work.&lt;/P&gt;&lt;P&gt;&amp;lt;iframe class="visual-sandbox" sandbox="allow-scripts allow-forms" name="visual-sandbox"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 08:33:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-29T08:33:15Z</dc:date>
    <item>
      <title>Where to set 'allow-forms' permission</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Where-to-set-allow-forms-permission/m-p/1927670#M30209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an external library (lineup) in my custom visual, where I have a dialog with form submission. I am getting this error, when I submit the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GuFa_0-1624954845665.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/542928i65998C61EA4A8680/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GuFa_0-1624954845665.png" alt="GuFa_0-1624954845665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I set allow-forms to allow form submision?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I setted it on developer console but it didnt work.&lt;/P&gt;&lt;P&gt;&amp;lt;iframe class="visual-sandbox" sandbox="allow-scripts allow-forms" name="visual-sandbox"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 08:33:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Where-to-set-allow-forms-permission/m-p/1927670#M30209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T08:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Where to set 'allow-forms' permission</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Where-to-set-allow-forms-permission/m-p/1932701#M30271</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The error message warns that an Iframe is sand-boxed without a proper privileges&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is an example of a sand-boxed iFrame.&lt;/P&gt;
&lt;PRE class="lang-js s-code-block"&gt;&lt;CODE class="hljs language-javascript"&gt;&amp;lt;iframe sandbox src=&lt;SPAN class="hljs-string"&gt;"http://usercontent.example.net/getusercontent.cgi?id=12193"&lt;/SPAN&gt;&amp;gt;&amp;lt;/iframe&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The sandbox attribute is not always automatically attached, because the sandbox attribute controls what is allowed.&lt;/P&gt;
&lt;P&gt;When a pop-up is needed, the attribute will change&lt;/P&gt;
&lt;PRE class="lang-js s-code-block"&gt;&lt;CODE class="hljs language-javascript"&gt;&amp;lt;iframe sandbox=&lt;SPAN class="hljs-string"&gt;"allow-same-origin allow-scripts allow-popups allow-forms"&lt;/SPAN&gt; src=&lt;SPAN class="hljs-string"&gt;"http://usercontent.example.net/getusercontent.cgi?id=12193"&lt;/SPAN&gt;&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The iFrame has to allow pop-ups, new windows, or scripts. Whatever you are trying (probably just navigation), the action is being blocked by a sandbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:42:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Where-to-set-allow-forms-permission/m-p/1932701#M30271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-01T08:42:54Z</dc:date>
    </item>
  </channel>
</rss>

