<?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 (Attribute update issue) in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25340#M635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested the editing with my symbology based on a field that does not have a domain set up and it worked just fine. Is there a special way to set up my domain or is there a setting that I need to change to make using a domain possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2011 12:28:22 GMT</pubDate>
    <dc:creator>JerryBiedenbender</dc:creator>
    <dc:date>2011-09-07T12:28:22Z</dc:date>
    <item>
      <title>Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25337#M632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using the editor widget in my silverlight application and am having a small issue with updating attributes. I can update every field except for the field that the symbology is based on. Does anyone know how to correct this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 13:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25337#M632</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-06T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25338#M633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not able to reproduce the issue on the SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget&lt;/A&gt;&lt;SPAN&gt;. If you click on any point feature, you can update "type" field and the graphic.Symbol updates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the field in your sample showing as read-only? Does the feature service define it as Editable=False?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 19:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25338#M633</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-06T19:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25339#M634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The field is set to "Editable". I have that field set up as a domain so I can have a pick list. Would that cause the problem? I also have another field set up with a pick list and there are no problems editing that one. Only the one that my symbology is based on. I just rebuilt my project from scratch and still have the same problem. If I can provide any more information that might help please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See attached for my rest service page information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25339#M634</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-07T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25340#M635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested the editing with my symbology based on a field that does not have a domain set up and it worked just fine. Is there a special way to set up my domain or is there a setting that I need to change to make using a domain possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 12:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25340#M635</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-07T12:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25341#M636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also try out this sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataForm"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataForm&lt;/A&gt;&lt;SPAN&gt;. If you visit the feature service REST end point, you can see that "req_type" is the field used in UniqueValueRenderer, Type ID Field and Types. In the sample, the symbology change as you modify the "Request Type."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 21:09:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25341#M636</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-07T21:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25342#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This editor widget also lets you edit the field that the symbology is based on and also changes the symbology when this field is edited. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget&lt;/A&gt;&lt;SPAN&gt; This is the one i'm using and I cannot edit the field if it is set up with a pick list. In the example there is a pick list set up and it works. Is there a way I'm suppose to set up my pick list?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 11:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25342#M637</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-08T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25343#M638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of the API are you using? FeatureDataForm in v2.2 was updated to display a ComboBox and treat type ID fields as choice list. The Type ID Field "type" is also used in Feature Types/Templates. &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt; Kindly see attached.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 19:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25343#M638</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-08T19:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25344#M639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It turn out I was using version 2.1, I upgraded to 2.2 and now the symbology field can be changed. It is still a little buggy. It will not let me edit anything unless there is data in the "employee" field. The problem here is when I add a new point it will also not allow me to choose an employee in the "employee" field because it starts off null. So the only ones that I can edit are the assets that already existed with an employee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you think the problem could be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way that I could add "choose employee" under the domain list and make it default so it is pre-populated when the asset is created?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 16:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25344#M639</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-14T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25345#M640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might be hitting Nimbus bug: NIM070962 "FeatureDataForm : When the CodedValueDomain value = null cannot save changes made."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This had been fixed in v2.3 and v3.0 beta 1. If you would like to try v3.0 beta 1, you can go to &lt;/SPAN&gt;&lt;A href="http://beta.esri.com/community"&gt;http://beta.esri.com/community&lt;/A&gt;&lt;SPAN&gt; and join the 10.1 Beta program.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25345#M640</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-09-14T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25346#M641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to set it to have a default employee so I do not have the null issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 17:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25346#M641</guid>
      <dc:creator>JerryBiedenbender</dc:creator>
      <dc:date>2011-09-14T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget (Attribute update issue)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25347#M642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, you can try this. Before setting FeatureDataForm.GraphicSource, you can update the graphic attribute value first, if it is found to be null. This uses Linq query to search for all CodedValueDomain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var fields&amp;nbsp; = l.LayerInfo.Fields.Where(f =&amp;gt; f.Domain is CodedValueDomain &amp;amp;&amp;amp; (f.Domain as CodedValueDomain).CodedValues.Count &amp;gt; 0);
foreach (var f in fields)
{
&amp;nbsp; if (g.Attributes[f.Name] == null)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var d = f.Domain as CodedValueDomain;
&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Attributes[f.Name] = d.CodedValues.FirstOrDefault().Key;
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editor-widget-attribute-update-issue/m-p/25347#M642</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T21:01:56Z</dc:date>
    </item>
  </channel>
</rss>

