Hi All I am trying to save a users Geo-Location on submission of a form to the backend database.
I have used the codeless get current location the created a object from the property set. However no matter what i try i am not getting the location saved to the database.
Thanks in advance for the help.
Hi @Raymond_Woodley !
“Get Current GEO Location” block provides JSON object with two fields - “lng” and “lat” while Data API “Save object” block expects instance of Geo point or geo string literal.
You should explicitly create Geo point and assign it to your record instead of raw data from “Page Data” object:
Could you please try my advice and write me back if it worked for your case?
Regards, Andriy
1 Like
Hi @Andriy_Konoz
Your advice worked perfectly first time.
Thank you very much it is greatly appreciated.
Kind Regards,
Raymond Woodley