Changes
Fixed OSIPI Attribute Description
== Attributes {{Version/WinXSince|3.6}} {{Version/XamarinSince|1.1}} {{Version/ServerSince|3.5.0}} ==
The Ubik OSIPI Plugin delivers the correctly formatted value (if numeric) in the also supports [[Live_Values#Attributes|Live Value Attributes collection (exposed as <code>FORMATTED</code>)]], which can be [[Live_Values#Binding_to_Attributes|bound to directly from XAML]]. Not all attributes are delivered for all live values.{| class="wikitable"|'''Live Value Attribute'''|'''Description'''|-|<code>UNIT</code>|The unit of the OSIPI datapoint from OSIPI.
This attribute is only available if the unit from OSIPI is not empty.|-|<code>FORMATTED</code>|The value in the format ''{Value} {Unit}'', with the option to set the [https://docs.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo value formatting culture] (with the <code>FORMATTING_CULTURE</code> field on the ''OSIPI_SERVER''). There is also an option to trim leading zeroes (with the <code>TRIM_LEADING_ZEROES</code> field), however, this is only available with the '''PIWEBAPI'''. This functionality is available in Ubik.Server 3.5.x as well, however, the fields <code>FORMATTING_CULTURE</code> and <code>TRIM_LEADING_ZEROES</code> are not generated automatically. This was repaired in 3.6.0. This attribute is only available when the live value is numeric.|-|<code>DIGITS</code>|The [https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwjFrLe1vaPlAhXQDmMBHYFUBycQFjAAegQIAxAB&url=https%3A%2F%2Flivelibrary.osisoft.com%2FLiveLibrary%2Fcontent%2Fen%2Fwebparts-v4%2FGUID-13DC1C74-40B9-4FFE-B0B2-FCD204D8C337&usg=AOvVaw2Zg1surxOxQ9sAedVz70DG OSIPI display digits] described. This attribute is only available when the live value is numeric and only when using the '''PIWEBAPI'''.|}