<?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: add data widget Renderer error getFieldsUsedInExpressions is not a function in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809553#M6322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good catch, the renderer from the original layer seems to be a uniquevalue, with the value field already inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding it to the function undid the error but the layer is still 'invisble'*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asking for a console.log of the featureLayer renderer after setting it returns a renderer object with undefined in every field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to delete something from the renderer or cycle through like a graphic layer symbology?&lt;/P&gt;&lt;P&gt;does a 'raw' renderer object from a layer needs to be changed before being set?&lt;/P&gt;&lt;P&gt;in the sample they made the renderer from scratch but i seem to have everything inside the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*the add data widget as shp works and i can highlight the polygons through the table attrubute table they just have no symbology now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;full file V2 as txt:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/segev-salman/pen/gOrayBR?editors=1000" title="https://codepen.io/segev-salman/pen/gOrayBR?editors=1000"&gt;https://codepen.io/segev-salman/pen/gOrayBR?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 11:55:33 GMT</pubDate>
    <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
    <dc:date>2020-08-12T11:55:33Z</dc:date>
    <item>
      <title>add data widget Renderer error getFieldsUsedInExpressions is not a function</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809551#M6320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im creating a widget to upload a specific shp file.&lt;/P&gt;&lt;P&gt;using the add data widget with only the 'file' enabled.&lt;/P&gt;&lt;P&gt;I have added a renderer to the code from the output of a service of the same layer extracting it using layer.renderer,&lt;/P&gt;&lt;P&gt;i get the error "getFieldsUsedInExpressions is not a function".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code from&amp;nbsp;AddFromFilePane file inside /search of add data widget&lt;/P&gt;&lt;P&gt;added line 15 end the renderer&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;    _addFeatures&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;job&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;featureCollection&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;//var triggerError = null; triggerError.length;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; fullExtent&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; layers &lt;SPAN class="operator 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; map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; job&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; nLayers &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; loader &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LayerLoader&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="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureCollection&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layers&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    nLayers &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; featureCollection&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layers&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;length&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    array&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;forEach&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureCollection&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layers&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; featureLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; loader&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;_generateLayerId&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;
    outFields&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string 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="punctuation token"&gt;;&lt;/SPAN&gt;
    featureLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;xtnAddData &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;featureLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;graphics&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    featureLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;renderer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="string token"&gt;"_cache"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"rotationInfo"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"colorInfo"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"opacityInfo"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;*only the start of the renderer&amp;nbsp;for comfort&amp;nbsp;&lt;/P&gt;&lt;P&gt;full file as txt:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/segev-salman/pen/NWNGpOz?editors=1000" title="https://codepen.io/segev-salman/pen/NWNGpOz?editors=1000" rel="nofollow noopener noreferrer" target="_blank"&gt;https://codepen.io/segev-salman/pen/NWNGpOz?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809551#M6320</guid>
      <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
      <dc:date>2021-12-12T09:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: add data widget Renderer error getFieldsUsedInExpressions is not a function</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809552#M6321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably have to instantiate a proper Renderer object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the docs (&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#renderer" title="https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html#renderer" rel="nofollow noopener noreferrer" target="_blank"&gt;FeatureLayer | API Reference | ArcGIS API for JavaScript 3.33&lt;/A&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;UL style="color: #4d4d4d; font-size: 14px; margin: 1em 0px 1em 0.8em; padding: 0px 0px 0px 1.6em;"&gt;&lt;LI style="margin: 0px 0px 0.5em; padding-left: 1.25em;"&gt;The layer's renderer must be of type&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/simplerenderer-amd.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;SimpleRenderer&lt;/A&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/classbreaksrenderer-amd.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;ClassBreaksRenderer&lt;/A&gt;, or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/uniquevaluerenderer-amd.html" style="color: #00629b; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;UniqueValueRenderer&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here you have plain object without methods, only properties:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; featureLayer&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;.&lt;/SPAN&gt;renderer &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"_cache"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"rotationInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"colorInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"opacityInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It probably should be something like this :&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt; var renderer = new SimpleRenderer(&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;{ ClassBreaksRenderer, or UniqueValueRenderer.&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"rotationInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"colorInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"opacityInfo"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;"&gt;null&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;,
     ...
  });&lt;/SPAN&gt;
 featureLayer&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;.setRenderer(renderer);&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809552#M6321</guid>
      <dc:creator>CarlosNantes</dc:creator>
      <dc:date>2021-12-12T09:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: add data widget Renderer error getFieldsUsedInExpressions is not a function</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809553#M6322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good catch, the renderer from the original layer seems to be a uniquevalue, with the value field already inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding it to the function undid the error but the layer is still 'invisble'*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asking for a console.log of the featureLayer renderer after setting it returns a renderer object with undefined in every field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to delete something from the renderer or cycle through like a graphic layer symbology?&lt;/P&gt;&lt;P&gt;does a 'raw' renderer object from a layer needs to be changed before being set?&lt;/P&gt;&lt;P&gt;in the sample they made the renderer from scratch but i seem to have everything inside the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*the add data widget as shp works and i can highlight the polygons through the table attrubute table they just have no symbology now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;full file V2 as txt:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/segev-salman/pen/gOrayBR?editors=1000" title="https://codepen.io/segev-salman/pen/gOrayBR?editors=1000"&gt;https://codepen.io/segev-salman/pen/gOrayBR?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809553#M6322</guid>
      <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
      <dc:date>2020-08-12T11:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: add data widget Renderer error getFieldsUsedInExpressions is not a function</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809554#M6323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so here some of the answers to my questions;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;instead of copying it with 'copy(layer.renderer)' i used copy(json.stringify(layer.renderer.toJSON())&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;do i need to delete something from the renderer?&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;the object has a delimeter attribute that should be deleted.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;cycle through like a graphic layer symbology?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;no, at least i don't think so setting the renderer worked for changing the symbology when getting the graphics.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;now the problem is the symbology, the add data layer is losing some of the&amp;nbsp;not simple symbols:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;IMG __jive_id="503209" alt="original symbology in the layer" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/503209_V1.png" /&gt;&lt;IMG __jive_id="503327" alt="new symbology on add data layer" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/503327_V2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 08:46:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/add-data-widget-renderer-error/m-p/809554#M6323</guid>
      <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
      <dc:date>2020-08-13T08:46:58Z</dc:date>
    </item>
  </channel>
</rss>

