I have been able to create a Survey123 that links to portal. I have gotten to the point that when I click the link to add inspection within Collector, it will open Survey123 and open the survey.
Back end information:
I have created a table that relates to the feature class.
- Cardinality: 1-M
- Name: GatewaySign
- Primary Key: GlobalID
- Foreign Key: ParentID
- Destination Table Name: GatewaySignInspection
Within the xlsForm I added the following row:
- type: text (will switch to hidden once I get this to work)
- name: ParentID
- label: Parent ID
- bind::esri:fieldType : esriFireldTypeGUID
In the collector map, configure pop up, I have created the hyperlink to open the survey123:
- arcgis-survey123://?itemid=427517a8e0fb49138bedba1e64d0adde&field:ParentID={GlobalID}
The issue I am getting is the survey data will not return to the collector data. Here is the error I am getting:
| SEVERE | Oct 23, 2017, 2:53:13 PM | An error occurred. | Collector/CollectorGatewaySigns.MapServer |
| SEVERE | Oct 23, 2017, 2:53:13 PM | Edit for the Feature in Layer: 1 is not applied. | Collector/CollectorGatewaySigns.MapServer |
| SEVERE | Oct 23, 2017, 2:53:13 PM | Error: A general error when something is wrong with a Field. [ParentID]. | Collector/CollectorGatewaySigns.MapServer |
Thoughts