Curious if there was a solution to this....
I am trying to update a S123 for that is consuming a NON-Hosted Feature Class...
This works great.... and the SDE data is being updated.
Now the parameters of the project changed and I need Multiple Images not one like the form originally had.
I tried this and got an error ... The Feature Class/ REST Service should be fine... At Has Attachments Enabled and this
Any thoughts?
Solved! Go to Solution.
Turns out the Start Repeat and End Repeat are not longer needed for multiple images in 3.1 moving forward.
Just set the appearance field value to 'Multiline'
You need to add a related table in your SDE table. Adding an image within a repeat like you did actually adds a new table to the Feature Service.
@abureaux So in addition to the SDE Feature Class, SDE Table and Relationship Class (created when attachments are enabled)
I need to create an additional table...
Do I need to add a table and where? Or do I need to add the SDE table to the mxd and publish?
Confused here.
Anyone have any idea where and how I create this able @abureaux is talking about
@abureaux is this what you are talking about?
I'd suggest first publishing the survey on its own and having a look at it on your Portal. That will give you an idea of how your external database will need to be set up.
Because you are adding a repeat, you need a related table in that external database. S123 uses two columns to achieve that: uniquerowid (in the parent) and parentrowid (in the child). One minor note, but the json from submissions show "uniquerowid" whereas the web interface shows "RowID". These are the same thing.:
So, your main table will need uniquerowid, and your new related table will need parentrowid to link back to the main table.
Turns out the Start Repeat and End Repeat are not longer needed for multiple images in 3.1 moving forward.
Just set the appearance field value to 'Multiline'