<?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 web app in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450838#M41662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;we need to write some custom functions in a .js file (using dojo library)&lt;/P&gt;&lt;P&gt;inside a downloaded web application embedded in an iframe.&lt;/P&gt;&lt;P&gt;How can we access to this function from a different iframe?&lt;/P&gt;&lt;P&gt;Thanks, Martina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2020 15:52:26 GMT</pubDate>
    <dc:creator>VincenzoLisi</dc:creator>
    <dc:date>2020-05-26T15:52:26Z</dc:date>
    <item>
      <title>embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450830#M41654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just getting started&amp;nbsp;on web app builder and I have a question about embed application.&lt;/P&gt;&lt;P&gt;Is it possible to manage/control web app from parent element when It's embed into another page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I have a page "test.html" which contains an Iframe. I would like to zoom to an extent or Add Data using button outside iframe.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can use Url parameters to zoom in/out but is it possible to&amp;nbsp;enhance Url parameters to manage new parameters (for exemple to add data or &lt;STRONG&gt;to communicate with a widget without reloading the page&lt;/STRONG&gt;) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe is there another way instead of an Iframe ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'll modify "index.html" of my webapp to add buttons can I access to the map object ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sylvain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 15:21:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450830#M41654</guid>
      <dc:creator>SylvainKerdreux2</dc:creator>
      <dc:date>2018-09-12T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450831#M41655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Sylvain,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;Yes you definitely can extend the Url Parameters in the app. The ConfigManager.js would be a great place for that. Also if the Url parameter has more to do with the map then there is the MapUrlParamsHandler.js file too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;It would be equally possible to make all your changes in the index.html. WAB global variables will be available there, like window._viewerMap which will be the apps map object.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450831#M41655</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-12T19:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450832#M41656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much it's working !&lt;/P&gt;&lt;P&gt;One final question : where did you find the answer ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read Web app builder documentation and I did not find any document about global variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 09:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450832#M41656</guid>
      <dc:creator>SylvainKerdreux2</dc:creator>
      <dc:date>2018-09-13T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450833#M41657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I have been programming in WAB since it was released in beta. I spend time looking in the code and understanding how it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 12:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450833#M41657</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-13T12:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450834#M41658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to embed web appbuilder for developer's edition in a web site? I have seen documentation on how to embed web app builder hosted on ArcGIS Online but noting about the developer's edition.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 19:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450834#M41658</guid>
      <dc:creator>SimonFonji</dc:creator>
      <dc:date>2019-09-04T19:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450835#M41659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to embed web app builder app created from the developer's edition into a web site. I initially had issues with the app not being able to load due to mixed http content since I was using a proxy to login to ArcGIS Online. Once I was able to correct the mixed http content issue, it worked as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450835#M41659</guid>
      <dc:creator>SimonFonji</dc:creator>
      <dc:date>2019-09-10T13:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450836#M41660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon, how did you resolve the mixed content issue?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 16:11:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450836#M41660</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-24T16:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450837#M41661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made the correction on the config.json file by&amp;nbsp;replacing http&amp;nbsp;with https on the proxyUrl e.g. "proxyUrl": "&lt;A href="http://www.arcgisserver.oa.pa.gov//DotNet/proxy.ashx"&gt;https://Your domain name//DotNet/proxy.ashx&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 16:53:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450837#M41661</guid>
      <dc:creator>SimonFonji</dc:creator>
      <dc:date>2019-09-24T16:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450838#M41662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;we need to write some custom functions in a .js file (using dojo library)&lt;/P&gt;&lt;P&gt;inside a downloaded web application embedded in an iframe.&lt;/P&gt;&lt;P&gt;How can we access to this function from a different iframe?&lt;/P&gt;&lt;P&gt;Thanks, Martina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 15:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450838#M41662</guid>
      <dc:creator>VincenzoLisi</dc:creator>
      <dc:date>2020-05-26T15:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: embed web app</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450839#M41663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Communication between iFrames is not really an esri GeoNet kind of question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally you have a global var that references the opener. Something like this:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;winobj &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;open&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"someurl"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"_blank"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; features&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then that html file has public functions or methods that you call using&amp;nbsp;document.winobj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the html file I opened, it can get access back to the widget using something like this:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;opener&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;myWidget&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setLatLonHandler&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;lat&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; pt&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The document.myWidget was set inside the widgets postCreate method:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;myWidget &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 22:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/embed-web-app/m-p/450839#M41663</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-26T22:25:40Z</dc:date>
    </item>
  </channel>
</rss>

