|
|
(8 intermediate revisions by the same user not shown) |
Line 2: |
Line 2: |
| | title = Selective List | | | title = Selective List |
| | name = SELECTIVELIST | | | name = SELECTIVELIST |
− | | internalname = SelectiveList | + | | internalname = SystemObjects.SELECTIVELIST |
− | | namespace = System.List | + | | namespace = System.List / Custom.List |
| | image = [[File:SY_SELECTIVELIST.png|220px]] | | | image = [[File:SY_SELECTIVELIST.png|220px]] |
| | imagecaption = Selective List | | | imagecaption = Selective List |
| | purpose = Manage selective lists | | | purpose = Manage selective lists |
| | version = 2+ | | | version = 2+ |
| + | | typestring = UBIK.Kernel.MetaClass |
| + | | runtimetype = UBIK.Kernel.SelectiveList |
| }} | | }} |
| | | |
− | Selective Lists gives the possibility to limit the possible user inputs. | + | Selective Lists gives the possibility to limit the possible values for a user input. |
− | | + | [[Category:Metaclasses]] |
− | 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.
| + | |
− | [[File:Selectivelist.png|300px|thumb|right|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|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]]
| + | |
− | #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.
| + | |
− | | + | |
− | ==How to use a selective list==
| + | |
− | #Search for the selective list in the left contentview of the classes.
| + | |
− | #Drag the selective list into the right cell of the destination, where the selective list will be used in the future.
| + | |
− | | + | |
− | | + | |
− | [[Category:How-To]]
| + | |
− | [[Category:System MetaClasses]] | + | |