<?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: Editor Widget and domains in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584590#M54666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas? We'd really like to add domains (in code) when using the editor widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2019 16:34:05 GMT</pubDate>
    <dc:creator>MatthieuThery1</dc:creator>
    <dc:date>2019-11-21T16:34:05Z</dc:date>
    <item>
      <title>Editor Widget and domains</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584589#M54665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add domains to the editor widget's layer infos property. I can't seem to be able to make it work.&lt;/P&gt;&lt;P&gt;Here is a sample of what I am trying to do :&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/mtrsklnkvMM/pen/rNNrYxd" title="https://codepen.io/mtrsklnkvMM/pen/rNNrYxd"&gt;https://codepen.io/mtrsklnkvMM/pen/rNNrYxd&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The domain property doesn't seem to be doing anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2019 11:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584589#M54665</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2019-11-11T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget and domains</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584590#M54666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas? We'd really like to add domains (in code) when using the editor widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584590#M54666</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2019-11-21T16:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget and domains</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584591#M54667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the "problem". When coding your domains, you need to specify the type ("coded-value"), otherwise the&amp;nbsp;_isDomainCompatible() function in the VM won't work. I guess I somehow believed it would "autocast".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;domain:{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; codedValues: [{code:'Yes',name:'Yes'},{code:'No',name:'No'}],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type:"coded-value"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified the pen above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 11:04:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-and-domains/m-p/584591#M54667</guid>
      <dc:creator>MatthieuThery1</dc:creator>
      <dc:date>2020-01-15T11:04:39Z</dc:date>
    </item>
  </channel>
</rss>

