Closed talllguy closed 5 years ago
Here's the basic approach used
type | name | label | hint | appearance | readonly | calculation | bind::esri:fieldType | bind::esri:fieldLength |
---|---|---|---|---|---|---|---|---|
begin group | G_META | Inspection Metadata | compact | |||||
text | FK_SWMFAC_INSP_FACILITY_ID | Facility ID | The inspected SWM Facility's ID. Stored as a backup key linking the inspection to the facility. | yes | esriFieldTypeString | 42 | ||
text | FK_SWMFAC_INSP_SWNFAC_NO | SHA SWMFAC Number | The inspected SWM Facility's Number. Stored as a backup key linking the inspection to the facility. | yes | esriFieldTypeString | 38 | ||
text | FIELDSWMF_INCOMING_GLOBALID | Incoming Global ID | This is the incoming Global ID from Collector | yes | null | |||
text | FK_FIELDSWMF_INSP_GLOBALID | Inspected Global ID | This is the stored Global ID, converted from the previous item | yes | if(regex(${FIELDSWMF_INCOMING_GLOBALID}, '^\{[\w\-]*\}$'), substr(${FIELDSWMF_INCOMING_GLOBALID},1, string-length(${FIELDSWMF_INCOMING_GLOBALID}) - 1), ${FIELDSWMF_INCOMING_GLOBALID}) |
esriFieldTypeGUID | ||
end group |
Need to do this for UG too but no time!
I'm going to skip this update.
Briefly, there is a better approach to linking feature classes to Survey123 outputs, implemented in the Inlet tool and others. Need to bring that approach to NPDES.