AnsweredAssumed Answered

Append records to a Repeat table and include parentglobalid relationship

Question asked by grahamstobieSPEN on Aug 21, 2019
Latest reply on Aug 21, 2019 by grahamstobieSPEN

Hi All

 

I have created a survey which is now being used to collect asset condition data - it's replacing an Excel survey form and has been well received.

 

I'm now trying to append some historical survey data to the Survey123 Feature Class so that the users can see all survey data in the same place. However I'm struggling to append records to a Repeat table while maintaining the relationship with the parent record - any help in doing this appreciated.

 

My workflow so far is:

 

  1. Copy data from the old Excel forms to two csv files (one for the parent record and one for the child 'repeat' data). These files have the same fields headers as in the new feature class
  2. Add lat/long info to the csv files
  3. Use the csv for the parent record to create an FGDB Feature Class in ArcMap (v10.2.1)
  4. Use the FGDB to append the parent records to the relevant layer in ArcGIS Online (I tried doing the append directly from the csv but for some reason didn't get the geometry in AGOL - not sure why)
  5. Take the globalid from the new features and copy them to the parentglobalid field in my child-record csv
  6. Append this to the child repeat table in ArcGIS Online

 

I'm failing at point 6 - although the parentglobalid field name is correct in the csv it is not automatically mapped in the field mappings, and when I manually map it the append operation fails with an 'Error - Unable to append data' message. If I don't manually map the parentglobalid the append works but there is no relationship to the parent record.

 

Any thoughts on what I'm doing wrong?

 

Thanks!

Outcomes