Jump to: navigation, search

Difference between revisions of "SELECTIVELIST"


(How to create a selective list)
Line 21: Line 21:
 
==How to create a selective list==
 
==How to create a selective list==
 
[[File:Add_a_selectivelist.png|300px|thumb|right|Add a new selective list]]
 
[[File:Add_a_selectivelist.png|300px|thumb|right|Add a new selective list]]
#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|300px|thumb|right|Add new selective items]]
+
#Create a new instance of the SELECTIVELIST class by the [[Bulk Editor]] [[File:Add_selective_items.png|300px|thumb|right|Add new selective items]]
 
#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.[[File:Selective_list_tree.png|300px|thumb|right|Structure]]
 
#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.[[File:Selective_list_tree.png|300px|thumb|right|Structure]]
 
#Open a [[Relation Editor]] Tab and drag the selective items onto the selective list.
 
#Open a [[Relation Editor]] Tab and drag the selective items onto the selective list.

Revision as of 11:51, 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. Create a new instance of the SELECTIVELIST class by the Bulk Editor
    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.