Trouble publishing survey for use with Collector. "Not Nullable"

893
2
Jump to solution
12-17-2018 07:18 AM
RichardCaprio1
New Contributor

Running into a snag when trying to publish a survey I'll be linking to the Collector app. I've been using the processes found in many previous discussions (Survey123 feature class as a related table , https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-sche... , and https://community.esri.com/thread/208613-pass-global-id-from-collector-to-g )

When going to publish the survey from Connect, I'm getting an error stating, "The custom feature service submission url is not compatible with this survey (Field parentglobalid in MS4_Outfall_Inspection_Shape is not nullable and must be configured as required.)"

The field, parentglobalid, is my GUID field needed for a relationship class with my asset that I need inspections performed on and is inherently not nullable...

I feel like I'm missing something glaring, but I've been stuck here for the past day or so. Thanks for any help.

0 Kudos
1 Solution

Accepted Solutions
BrandonArmstrong
Esri Regular Contributor

Hi Richard,

Try to make the field which is being referenced 'required' in the XLSForm and attempt to republish.  The error should be due to the fact that Field parentglobalid in MS4_Outfall_Inspection_Shape did not allow for Null values at time of creation.

View solution in original post

2 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Richard,

Try to make the field which is being referenced 'required' in the XLSForm and attempt to republish.  The error should be due to the fact that Field parentglobalid in MS4_Outfall_Inspection_Shape did not allow for Null values at time of creation.

RichardCaprio1
New Contributor

Thanks Brandon, that did the trick.