Hi All,
I have a strange issue with editing related records in the ArcGIS Online Map Viewer. The data is exposed as a Feature Layer that is self-hosted in ArcGIS Server 11.2.
First, I have tested a simple feature layer with a single point featureclass and table with a 1:M relationship class. I published that (traditional versioning, GlobalIDs for the relationship, editor tracking) and created a web map for it. I can create a form for the FC and edit the related table no problem. It all works great. This tells me my the software, RDBMS (PostGIS, by the way), and publishing process is OK.
However when I publish my "real" dataset which is more complex but is published the same way the Web Map form allows me to add the related tables to it. But when I go to actually add or edit data, the add new records to related tables buttons are disabled with a message "A record cannot be added to <table name> until the GlobalID has been entered." The origin record already exists (I'm editing and existing feature) and that feature's GlobalID is populated. In fact it has existing related records in other tables. However it does not allow me to add a new related record.
Here is a screen grab of the add related records section of the form:
Notice how I cannot add a new "Note", yet there are existing related records for field visits and notifications that are there and linked correctly (these were existing, not added in ArcGIS Online).
Has anyone experienced this before? I can't figure out what's different between my "real" data and the simple test data I tried.
Thanks!
Layth