Jump to: navigation, search

Difference between revisions of "SELECTIVELIST"


Line 30: Line 30:
  
  
[[Category:How to...]]
+
[[Category:How-To]]
[[Category:UBIK System MetaClasses]]
+
[[Category:System MetaClasses]]

Revision as of 11:45, 24 June 2013

IC METACLASS.gif Selective List
Name SELECTIVELIST
Namespace System.List
Internal Name SelectiveList
TypeString {{{typestring}}}
RuntimeType {{{runtimetype}}}
Purpose Manage selective lists
Version 2+


Selective Lists gives the possibility to limit the possible user inputs.

e.g. if you want to let the user choose a car, but do not want to give the user the right to add new car-manufactors, just create a car-selective-list, so that the user is only allowed to choose out of this car-catalogue.

2 parts to create a selective list

To generate a selective list, there are two important parts:

  • SELECTIVEITEM equals to a following item of a selective list
  • SELECTIVELIST is the base selective list


How to create a selective list

File:Add a selectivelist.png
Add a new selective list
  1. At first add a new selective list in the Contentview of the Designer. For this just fill in the necessary name, description and the type of the following data.
    File:Add selective items.png
    Add new selective items
  2. Now add a few needed Selective items. It is very important to set a VALUE for each selective item.This could be a integer or string value.
  3. Open a Relation Editor Tab and drag the selective items onto the selective list.

How to use a selective list

  1. Search for the selective list in the left contentview of the classes.
  2. Drag the selective list into the right cell of the destination, where the selective list will be used in the future.