Select to view content in your preferred language

Error to Insert

2154
1
11-07-2013 04:37 AM
by Anonymous User
Not applicable
Original User: ezequias

Hi

I am having a message error when trying to insert a new record to a FeatureSource from ArcGIS Mobile 10.1

Here is my code:

   FeatureSource ftrSource = GetFeatureSource("MyLayer", mobileCache);  
   FeatureDataRow dataRowManobraPonto = ftrSource.GetDataTable().NewRow();   <-- here I got the exception (attached)

Is there have any suggestion I must check ?

Should I use the Insert Method that FeatureDataReader implements? If yes please how to get a FeatureDataRecord from my FeatureLayer?

Ps: I am also attaching my Mobile Service (print screen) that was the source of my MobileCache and my Cache.

Sincerely.
0 Kudos
1 Reply
EzequiasRodrigues_da_Rocha
Regular Contributor
I have found the solution to this problem in the post below:

http://forums.arcgis.com/threads/10700-Non-editable-Layer?p=342721#post342721


Hi

I am having a message error when trying to insert a new record to a FeatureSource from ArcGIS Mobile 10.1

Here is my code:

   FeatureSource ftrSource = GetFeatureSource("MyLayer", mobileCache);  
   FeatureDataRow dataRowManobraPonto = ftrSource.GetDataTable().NewRow();   <-- here I got the exception (attached)

Is there have any suggestion I must check ?

Should I use the Insert Method that FeatureDataReader implements? If yes please how to get a FeatureDataRecord from my FeatureLayer?

Ps: I am also attaching my Mobile Service (print screen) that was the source of my MobileCache and my Cache.

Sincerely.
0 Kudos