Recents

HowTo: Using SD Geolocation Control in Smart DevicesOfficial Content

In this tutorial we will explain the meaning of SD Geolocation and how to use it.

SD Geolocation is a control applicable to a geolocation field. This control will show the geolocation field over a map, indicating the position with a pin.
 
This control can be applied to an attribute from a Transaction object based on Geolocation Domain and also to a variable with same domain.

Example#

For the following tutorial we will create a Transaction (called "TRNGeolocation") with two Attributes (Id and descriptionas shown on the image.
 
TRNGeolocation
 
Then we apply the Work With for Smart Devices object pattern to the Transaction (for further information see Applying Work With for Smart Devices Pattern).
 
GeolocationPattern
 
Let's change the Control Type Property of the attribute "TRNGeolocationDescription" to SD Geolocation.
 
SDGeolocationPatternControl
 
To finish the tutorial create the following dashboard and add the WorkWithDevicesTRNGeolocation as an item.
 
DashboardGeolocation1
 
Done! Now we can deploy our application on different devices (don't forget to set your dashboard as main object).

Android#

AndroidSDGeolocation1 AndroidSDGeolocation2
AndroidSDGeolocation3 AndroidSDGeolocation4
AndroidSDGeolocation5

iOS#

iOSGeolocation1 iOSGeolocation2
 
In this case, we already have an item on the list. 
 
iOSGeolocation3
 

Scope#

Platforms: Android,  iOS

See also#

Videos#

Start Video Work With for Smart Devices – General Aspects and List layout
Start Video WorkWith for Smart Devices – Detail Layout


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.