<?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 Help Required with Adding Related Records Using Feature Service in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-required-with-adding-related-records-using/m-p/386284#M11123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to store detail (in a Table) of the shop (feature classs). Both are related in composite manner using 1:M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have couple of questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is there any way to insert data into detail table purely from code? I mean I want to insert data into detail table without user input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. After relating both (Feature Class + Detail Table), AttributeTable Widget throws an exception (cannot access property of a null object reference )in one of its component while adding data into related table. Is there anything wrong on my side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In Flexviewer 3.3 however same Feature Service seems to work well but as I insert two records of detail in shop, Attribute Table inserts detail with object ID being increamented on each insert. When I refresh the page it says only one related detail of the shop but in DB, All the records are present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Those remaining records are automatically associated by Attribute Table and Edit Widget for newly created Shops.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class related to a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using FlexViewer 3.4 and ArcGIS Server 10.1 with SQL Server 2012.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 14:52:50 GMT</pubDate>
    <dc:creator>omega_cancer</dc:creator>
    <dc:date>2013-08-01T14:52:50Z</dc:date>
    <item>
      <title>Help Required with Adding Related Records Using Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-required-with-adding-related-records-using/m-p/386284#M11123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to store detail (in a Table) of the shop (feature classs). Both are related in composite manner using 1:M.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have couple of questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is there any way to insert data into detail table purely from code? I mean I want to insert data into detail table without user input.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. After relating both (Feature Class + Detail Table), AttributeTable Widget throws an exception (cannot access property of a null object reference )in one of its component while adding data into related table. Is there anything wrong on my side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. In Flexviewer 3.3 however same Feature Service seems to work well but as I insert two records of detail in shop, Attribute Table inserts detail with object ID being increamented on each insert. When I refresh the page it says only one related detail of the shop but in DB, All the records are present.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Those remaining records are automatically associated by Attribute Table and Edit Widget for newly created Shops.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature class related to a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using FlexViewer 3.4 and ArcGIS Server 10.1 with SQL Server 2012.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 14:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-required-with-adding-related-records-using/m-p/386284#M11123</guid>
      <dc:creator>omega_cancer</dc:creator>
      <dc:date>2013-08-01T14:52:50Z</dc:date>
    </item>
  </channel>
</rss>

