<?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: Make Fields Required in the Relationship Inspector in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45506#M1084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did but I will look more carefully. Since the relationship inspector uses an attribute inspector I thought I could change properties in the attribute inspector, but I will try to see if I can make these kind of changes in the skins. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 19:28:49 GMT</pubDate>
    <dc:creator>ionarawilson1</dc:creator>
    <dc:date>2014-02-25T19:28:49Z</dc:date>
    <item>
      <title>Make Fields Required in the Relationship Inspector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45503#M1081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to make some fields required in the attribute inspector of my relationship inspector. The code I use works with the editor attribute inspector but not with the relationship inspector attribute inspector. I get an error on this&amp;nbsp; line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributeInspector.fieldInspectors = [fieldInspector1, fieldInspector2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use the code assist in the relationship I can see that there is a class called Attribute Inspector - Relationship Inspector (please see image), but I can't find this class to instantiate the attribute inspector in action script. Anybody know the right way to do this? Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myEditor.featureLayers = [ myFeatureLayerstewardship];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var attributeInspector: AttributeInspector = relationshipInspector.attributeInspector
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fieldInspector1:FieldInspector = new FieldInspector();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var fieldInspector2:FieldInspector = new FieldInspector();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInspector1.featureLayer = myFeatureLayercounty
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInspector2.featureLayer = myFeatureLayercounty
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributeInspector.fieldInspectors = [fieldInspector1, fieldInspector2]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInspector1.fieldName = "Acres"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInspector1.required = true
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt;[ATTACH=CONFIG]31610[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 12:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45503#M1081</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2014-02-20T12:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Make Fields Required in the Relationship Inspector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45504#M1082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there anybody that could help with this? Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 14:44:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45504#M1082</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2014-02-21T14:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Make Fields Required in the Relationship Inspector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45505#M1083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if it's helpful, but have you looked at the skins for the RelationshipInspector?&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;RelationshipInspectorAttributeInspectorSkin.mxml&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;RelationshipInspectorSkin.mxml&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/flex/api-reference/com/esri/ags/components/RelationshipInspector.html#SkinPartSummary"&gt;https://developers.arcgis.com/flex/api-reference/com/esri/ags/components/RelationshipInspector.html#SkinPartSummary&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45505#M1083</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-02-25T18:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Make Fields Required in the Relationship Inspector</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45506#M1084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did but I will look more carefully. Since the relationship inspector uses an attribute inspector I thought I could change properties in the attribute inspector, but I will try to see if I can make these kind of changes in the skins. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 19:28:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/make-fields-required-in-the-relationship-inspector/m-p/45506#M1084</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2014-02-25T19:28:49Z</dc:date>
    </item>
  </channel>
</rss>

