<?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 Custom widget for 2D and 3D manifest config in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68159#M5976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a custom widget that works for both 2D and 3D. However, every time it is deployed, we have to change the configuration in manifest.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;platform: HTML3D or HTML for 2D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to configure it such that a single widget will work for BOTH 2D and 3D?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;platform: HTML3D, HTML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any workarounds will also be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 07:14:10 GMT</pubDate>
    <dc:creator>VictorTey</dc:creator>
    <dc:date>2018-06-14T07:14:10Z</dc:date>
    <item>
      <title>Custom widget for 2D and 3D manifest config</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68159#M5976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a custom widget that works for both 2D and 3D. However, every time it is deployed, we have to change the configuration in manifest.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;platform: HTML3D or HTML for 2D&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to configure it such that a single widget will work for BOTH 2D and 3D?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;platform: HTML3D, HTML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any workarounds will also be appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:14:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68159#M5976</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2018-06-14T07:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for 2D and 3D manifest config</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68160#M5977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Looking in the WidgetManager.js they have this hard coded for one or the other:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;appInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;appType &lt;SPAN class="operator token"&gt;===&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"HTML3D"&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68160#M5977</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-14T12:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom widget for 2D and 3D manifest config</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68161#M5978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed it did not look possible. Thanks &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 01:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/custom-widget-for-2d-and-3d-manifest-config/m-p/68161#M5978</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2019-05-15T01:57:42Z</dc:date>
    </item>
  </channel>
</rss>

