<?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: Related Record Foreign Key in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96726#M3605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same issue. Any ideas ESRI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vicky&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 12:01:56 GMT</pubDate>
    <dc:creator>VickyS</dc:creator>
    <dc:date>2013-05-02T12:01:56Z</dc:date>
    <item>
      <title>Related Record Foreign Key</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96725#M3604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When adding a new related record using the Edit widget the foreign key is not auto-populated.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example I have a feature with a primary key.&amp;nbsp; I click on the feature to get the edit popup and click the related records link at the bottom.&amp;nbsp; Then, after clicking Add New Record, I am presented with the inputs for that table.&amp;nbsp; Included is the foreign key field which is blank.&amp;nbsp; It seems to me two things should happen.&amp;nbsp; 1) The foreign key field should be auto populated with the current features primary key.&amp;nbsp; 2)The foreign key field should be hidden.&amp;nbsp; The second one I haven't attempted but I believe its relatively straight forward.&amp;nbsp; But the first part I am surprised about.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, am I missing something or the widget is not operating correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 20:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96725#M3604</guid>
      <dc:creator>TravisBock1</dc:creator>
      <dc:date>2013-04-24T20:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Related Record Foreign Key</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96726#M3605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same issue. Any ideas ESRI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vicky&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96726#M3605</guid>
      <dc:creator>VickyS</dc:creator>
      <dc:date>2013-05-02T12:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Related Record Foreign Key</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96727#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would it be possible to share the JSON for relationships for both the layer and its related table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked into the code and the RelationshipInspector does try to populate the foreign key but I think right now it assumes the key field name to be the same in both the layer and related table. My guess is that in this case the two fields are different.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96727#M3606</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2013-05-02T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Related Record Foreign Key</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96728#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a new geodatabase still in the dev phase.&amp;nbsp; So changing the key field names is not an issue.&amp;nbsp; I have already done so.&amp;nbsp; So now the primary key in the feature class matches the foreign key field name in the related tables and it is now working correctly.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is just me but it seems like this should be explained somewhere.&amp;nbsp; Or did I just miss it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Travis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 19:38:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96728#M3607</guid>
      <dc:creator>TravisBock1</dc:creator>
      <dc:date>2013-05-02T19:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Related Record Foreign Key</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96729#M3608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have already done so. So now the primary key in the feature class matches the foreign key field name in the related tables and it is now working correctly. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You shouldn't be required to do it. This would be a workaround for now. I will put in a fix for the next version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 20:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/related-record-foreign-key/m-p/96729#M3608</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2013-05-02T20:32:07Z</dc:date>
    </item>
  </channel>
</rss>

