Changes

Active List Client

427 bytes removed, 08:22
If an Active List is defined on a [[Instance|Content Object]] that is associated with an [[MetaProperty#Integer|integer]] [[MetaProperty]], the property is displayed like a usual [[UBIK WinX Client Basics#Selective List Properties|SelectiveList]]. An ActiveList (i.e., if it has been configured on the server for a content object) always takes precedence over a MetaProperty SelectiveList. For editing, it behaves exactly the same as with a standard SelectiveList.
When the user opens an ActiveList:
* All available options from the ActiveList are displayed as text labels.
* The label for each option is shown in the language configured on the web service. If a translation for the configured language is unavailable, the label is displayed in the default language.
=== XAML ===
To enable access to an ActiveList from XAML a A new SelectiveItems property named SelectiveItems was added to the PropertyViewModel. This property returns the ActiveList if one is configured on the content object; otherwise, it falls back to the SelectiveList defined on the MetaProperty if no enable access to an ActiveList is available for the content object. Below is an example of how this can be implemented in from XAML. For the SelectedItemNo DataTriggers or additional checks are required, it is important to use the PropertyValueToSelectiveItem converter and pass the control’s own ItemsSource path as the ConverterParameter, so that the correct list can be provided to the converter. This means that no DataTriggers or similar mechanisms are required to switch between ActiveLists and MetaProperty SelectiveLists or to perform any checksselection is handled automatically.
<tabs>
</tab>
</tabs>
 
 
== See also ==
* [[UBIK Active Lists|Active Lists Server]]
* [[MROCLS PICK LIST TASK|Pick List Task]]
 
{{UnderConstructionEnd}}
[[Category:ActiveList|Active List Client]]
[[Category:Active List|Active List Client]]
[[Category:Client|Active List Client]]
[[Category:Version 5.1|Active List Client]]
[[Category:ActiveList|Active List Client]]
137
edits