Help Required with Adding Related Records Using Feature Service

1848
0
08-01-2013 07:52 AM
omega_cancer
Occasional Contributor II
Hello Everyone,
I want to store detail (in a Table) of the shop (feature classs). Both are related in composite manner using 1:M.
I have couple of questions:

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.

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?

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.
Those remaining records are automatically associated by Attribute Table and Edit Widget for newly created Shops.

Please help.


I have a feature class related to a table.
I am using FlexViewer 3.4 and ArcGIS Server 10.1 with SQL Server 2012.
Thanks
Tags (2)
0 Kudos
0 Replies