Write multiple submissions directly to a related table

03-15-2021 06:14 PM
New Contributor III

Hi 😀

I know it's possible to write directly to a related table (using the submission URL method). But, does anyone know whether it is possible to write directly into a related table (with a multiple repeat count)? I can't see a way to do this without creating a feature in the parent feature layer. Any help is greatly appreciated.

Thanks so much,

0 Kudos
2 Replies
Esri Notable Contributor

Hi @GFernando  Your guess is correct. While you can configure a survey to target a related table directly, you cannot add a repeat to your survey to enable multiple-record submissions to that related table without having a new record added in the parent layer. As soon as you add a repeat block in your form, a record is added in the parent layer.

Theoretically, it could be possible to add a repeat with the esriFieldType column set to null, but that is just theoretical. Repeats ignore the esriFieldType column.

New Contributor III

Thanks @IsmaelChivite for the quick response and clarification 😀

0 Kudos