<?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: Embed doc file in PopupPanel widget problem in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117743#M21597</link>
    <description>&lt;P&gt;Well, you gave me the idea of using embedded content! This could be usable for the project I am doing, I can generate popup content and put it on a web server and then link it from the WABDE popup. Then I can put anything I want in there, I can program it in PYTHON and/or JAVASCRIPT instead of ARCADE wheee who! I looked at how the existing popup is coded and shrank away in horror.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Takes deep breath and counts to 3)&lt;/P&gt;&lt;P&gt;I am doing a proof of concept today, when it's working I will post the URL here and ask you to look at it to see if your browsers load it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it does NOT work we have more to go on and I won't publish to the world.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 16:26:34 GMT</pubDate>
    <dc:creator>Brian_Wilson</dc:creator>
    <dc:date>2021-11-17T16:26:34Z</dc:date>
    <item>
      <title>Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116243#M21566</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to embed a .doc file on PopupPanel widget.&lt;/P&gt;&lt;P&gt;I'm using Microsoft API viewer with code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;iframe src='&lt;A href="https://view.officeapps.live.com/op/embed.aspx?src=https://www.learningaboutelectronics.com/Articles/NP-modernization-act-new-york-state.doc&amp;amp;embedded=true" target="_blank"&gt;https://view.officeapps.live.com/op/embed.aspx?src=https://www.learningaboutelectronics.com/Articles/NP-modernization-act-new-york-state.doc&amp;amp;embedded=true&lt;/A&gt;' width='100%' height='500px' frameborder='0'&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/P&gt;&lt;P&gt;but it's not correctly working in&amp;nbsp; Chrome, while it's OK using Firefox.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Martina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 08:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116243#M21566</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2021-11-12T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116432#M21572</link>
      <description>&lt;P&gt;I am curious if it works in Edge?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 17:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116432#M21572</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-12T17:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116793#M21574</link>
      <description>&lt;P&gt;no it doesn't...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 11:10:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1116793#M21574</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2021-11-15T11:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117013#M21575</link>
      <description>&lt;P&gt;Perhaps you can try "embed" instead of iframe, like for example&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;lt;embed src="your url"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 19:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117013#M21575</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-15T19:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117695#M21595</link>
      <description>&lt;P&gt;I tried.. but it doesn't work too.&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 14:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117695#M21595</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2021-11-17T14:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117743#M21597</link>
      <description>&lt;P&gt;Well, you gave me the idea of using embedded content! This could be usable for the project I am doing, I can generate popup content and put it on a web server and then link it from the WABDE popup. Then I can put anything I want in there, I can program it in PYTHON and/or JAVASCRIPT instead of ARCADE wheee who! I looked at how the existing popup is coded and shrank away in horror.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Takes deep breath and counts to 3)&lt;/P&gt;&lt;P&gt;I am doing a proof of concept today, when it's working I will post the URL here and ask you to look at it to see if your browsers load it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it does NOT work we have more to go on and I won't publish to the world.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1117743#M21597</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-17T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118000#M21603</link>
      <description>&lt;P&gt;I can go into the popup editor and open the HTML window and put code in it like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;content like this
&amp;lt;embed src="https://webforms.co.clatsop.or.us"&amp;gt;&amp;lt;/embed&amp;gt;
and below&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then when I click on the map to get a popup it works, and it looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="popup.png" style="width: 385px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27711iBC67758E27C0DE93/image-size/large?v=v2&amp;amp;px=999" role="button" title="popup.png" alt="popup.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That's as expected. I think that web site is visible to the world, you can load the page separately (at least for today) from &lt;A href="https://webforms.co.clatsop.or.us" target="_blank" rel="noopener"&gt;https://webforms.co.clatsop.or.us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to see the content.&lt;/P&gt;&lt;P&gt;Here's the "conspiracy" part. If I save the map and reload it, the embed code DISAPPEARS.&lt;/P&gt;&lt;P&gt;If I go into the server and manually open the JSON file for the map, I see this.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"description"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"content like this&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;and below"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I can see that the content was stripped out before the file was saved.&lt;/P&gt;&lt;P&gt;NOW if I use a text editor I can put it back in...&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"description"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"content like this&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;embed src='&lt;A href="https://webforms.co.clatsop.or.us" target="_blank" rel="noopener"&gt;https://webforms.co.clatsop.or.us&lt;/A&gt;'&amp;gt;&amp;lt;/embed&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;\n&lt;/SPAN&gt;&lt;SPAN&gt;and below"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you see the map? I made it public. Right now, it should have the embed tag in there like the screenshot above.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the URL for the map viewer, (updated 11/18/21 9am to one that's public access )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A title="Map with popup edits done in VS Code" href="https://delta.co.clatsop.or.us/portal/home/webmap/viewer.html?webmap=4ab20c018c9141bf84b6b3095472c847" target="_blank" rel="noopener"&gt;https://delta.co.clatsop.or.us/portal/home/webmap/viewer.html?webmap=4ab20c018c9141bf84b6b3095472c847&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Nov 2021 16:58:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118000#M21603</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-18T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118285#M21607</link>
      <description>&lt;P&gt;Hi Brian!&lt;/P&gt;&lt;P&gt;I see your post just now...&lt;/P&gt;&lt;P&gt;I can't see your map (it is probably no longer public) and I can't open &lt;A href="https://webforms.co.clatsop.or.us" target="_blank" rel="nofollow noopener noreferrer"&gt;https://webforms.co.clatsop.or.us &lt;/A&gt;&lt;/P&gt;&lt;P&gt;- page 403 forbidden-&lt;/P&gt;&lt;P&gt;I think my problem is the link I want to embed, not the iframe or embed elements, and the fact that I embed it in PopupPanel..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Would you try to embed in yor map my link, using iframe or embed element?&lt;/P&gt;&lt;P&gt;&amp;lt;iframe loading="lazy" src="&lt;A href="https://view.officeapps.live.com/op/embed.aspx?src=https://webgis2.ar-tel.it/_test/test.doc" target="_blank"&gt;https://view.officeapps.live.com/op/embed.aspx?src=https://webgis2.ar-tel.it/_test/test.doc&lt;/A&gt;" width="100%" height="500px" frameborder="0"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/P&gt;&lt;P&gt;this is what I see in firefox.. and it doesn't disappear!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VincenzoLisi_1-1637256795767.png" style="width: 302px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27810iC127C4EB8AD41650/image-dimensions/302x523?v=v2" width="302" height="523" role="button" title="VincenzoLisi_1-1637256795767.png" alt="VincenzoLisi_1-1637256795767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 17:38:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118285#M21607</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2021-11-18T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118318#M21608</link>
      <description>&lt;P&gt;I don't understand why sharing is not working. I made an app from the map and put it here, and it works from my phone so it should be accessible to you now. It has your links embedded instead of my 403 error page&lt;/P&gt;&lt;P&gt;&lt;A title="Survey pop up test app" href="https://delta.co.clatsop.or.us/apps/SurveyPopUpTest" target="_self"&gt;https://delta.co.clatsop.or.us/apps/SurveyPopUpTest&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is after I edit the JSON file directly, seen in Edge... testing in Firefox... works there and in Chrome...&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="BrianWilson7_0-1637257831298.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/27814iCF2C4B5BD07FAD45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrianWilson7_0-1637257831298.png" alt="BrianWilson7_0-1637257831298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my phone it puts an arrow on the popup and when I click the arrow it opens a new page to show the popup contents. I suppose I've never tried popups on my phone so this is new to me. I'd include screenshots of that but it's too much work!&lt;/P&gt;&lt;P&gt;I was trying to put an iframe into a popup and it just keeps deleting them. Embeds won't save to the map file but work until I do a save. Iframes get wiped as soon as I change between edit modes in the popup editor. This has to be intentional and undocumented?&lt;/P&gt;&lt;P&gt;I am using ArcGIS Enterprise 10.9 and whatever the current versions of Chrome, Firefox, and Edge are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 18:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118318#M21608</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-18T18:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118342#M21610</link>
      <description>&lt;P&gt;I opened the HTML tags being removed as a separate question,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-enterprise-portal-questions/will-the-map-viewer-allow-embed-or-iframe-content/m-p/1118341#M11748" target="_self"&gt;Will the Map Viewer allow embed or iframe content in popups&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 19:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1118342#M21610</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-11-18T19:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Embed doc file in PopupPanel widget problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1126635#M21690</link>
      <description>&lt;P&gt;Hi!!&lt;/P&gt;&lt;P&gt;In my map it still doesn't work (&lt;SPAN&gt;Chrome an Edge&lt;/SPAN&gt;) and I decide to open the Office viewer from a link directly in a new page, without using iframe object...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 12:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/embed-doc-file-in-popuppanel-widget-problem/m-p/1126635#M21690</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2021-12-16T12:31:49Z</dc:date>
    </item>
  </channel>
</rss>

