The Physical Measures control lets you to easely manage physical measures such as height, weight, volume, temperature, etc. Also enables each user of the application to choose in which metric system he wants to work.
In this article it is explained the most important concepts of the Physical Measures control and there is an example on how to use it.
This control applies to attributes and variables.
Let's start by defining the following Transaction object with Work With for Smart Devices object (WWSD) applied (see about this here: Applying Work With for Smart Devices Pattern).
Once we have applied the WWSD pattern we need to enable the Physical Measures control. To do this go to Section (General), select the attribute and choose "SD PhysicalMeasure" value to Control Type property. You must do this both in the View and Edit layouts.
This will enable Measure Type property, as seen in the image. For our example, we choose Height.
Now we are done, just hit F5.
Doing this, the user of the app will have the possibility to choose the unit for the height (feets or meters) at the moment of insert or update the value.
(The field above the wheels shows the current value, not the one selected in the wheels.)
This control is only supported in iOS and Android devices.
Work With for Smart Devices – General Aspects and List layout
WorkWith for Smart Devices – Detail Layout