Hi every one,
I know we cannot have multiple geopoint set as point shape but since I fugured we could put esritype:bind to null I've set many questions in my survey as geopoint so I could get more than one place to capture the localisation of what I describe. The problem is the following: as I do not get a point shape where is the coordinates are stoked? In the form I have that little map with a pin but once I sync the form, the table as no coordinates field..... Where is this info I capture via geopoint question?
Thanks a lot
If you set the fieldType to null, the question value is stored in your device but never sent to your feature layer.
If you want to persist the XY Coordinates in your feature layer as attributes, do something like this
type | name | label | appearance | calculation | bind::esri:fieldType |
---|---|---|---|---|---|
geopoint | location | Location | null | ||
decimal | coord_x | X | hidden | pulldata("@geopoint", ${location}, "x") | |
decimal | coord_y | Y | hidden | pulldata("@geopoint", ${location}, "y") |
Alternatively
type | name | label | calculation | bind::esri:fieldType |
---|---|---|---|---|
geopoint | location | Location | null | |
calculate | coord_x | X | pulldata("@geopoint", ${location}, "x") | esriFieldTypeDouble |
calculate | coord_y | Y | pulldata("@geopoint", ${location}, "y") | esriFieldTypeDouble |
Perfect! Thnaks a lot
If I did not do that from the start, is there any way for me to get those value from a form in my Inbox that was already done and sent?
Thanks
If you did not persist the X/Y values in the feature layer I do not see how you could recover these values.
I will take this as a NO hihi.
Thanks