“Acquire GPS” in a module
-
DinkelModerator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)6 years ago #19545::Hi,
You have to create that Auto Field in your module. You can do this in the Data Workbench while editing the module.
For further information I recommend the documentation regarding the Data Workbench.
DinkelModerator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)6 years ago #19548::update:
I created the autofields for “longitude” and “latitude”, when trying to map the fields to a variable, i get “uncaught path points to undefiend field” in the generated source code lines.this.getGlobals().setVar(“ScanResult”,this.evalAutoField(“Geolocation”,{“QueryParameter”:”latitude”}),”latnum”);
this.getGlobals().setVar(“ScanResult”,this.evalAutoField(“Geolocation”,{“QueryParameter”:”longitude”}),”longnum”);The variable “ScanResult” has been defined in the data work bench of course.

thx.
Christian KleinschrothModerator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification6 years ago #195496 years ago #19552::Hello Christian,
actually this is not my use case. The intention is to have a re-usable module which scans a barcode, gets the location and the timestamp and delivers everything together to the “main application”. passing the gps location from outside doesnt make too much sense here :-/
thx.
Mathieu RollKeymaster
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)6 years ago #19620::Hello Franz,
you need to predefine your variable structure like i mentioned here.
https://community.simplifier.io/forum/topic/error-path-points-to-undefined-field/
You must be logged in to reply to this topic.