Changes

Dynamic Selective List (Client)

No change in size, 15:08, 26 November 2021
/* Example use case */
[[File:Client_DSL_Example_Usecase.png|450px|thumb|border|alt=Example use case|Example use case]]
In this example, two properties "Model Guid" and "Part Guid" are associated with a dynamic selective list each.
* "Part Guid" depends on a property "Types of Parts" and uses DSL_Query DSL_QUERY "Part Query" to find the suitable dynamic selective list items (parts).
** From the data hierarchy, {{UBIK}} extracts the "Types of Parts" values. There are many factors that can affect which objects {{UBIK}} takes the values from, see [[#Resolving_dynamic_items|resolving dynamic items]] for details.
** If for example, the final "Types of Parts" value found is "Mechanical", the query will return all those "DSL Item Instances" that are "Mechanical", e.g. "Screw". The user can then select one of those items and its Guid will be set as the value of property "Part Guid".
* "Model Guid" depends on a property "Part Guid" and uses DSL_Query DSL_QUERY "Model Query" to find the suitable dynamic selective list items (models).
** Similarly, {{UBIK}} tries to find the "Part Guid" values, which can be found on the object itself in this case.
** If for example, the final "Part Guid" value is the Guid of item "Screw", the query will return all those "DSL Item Instances" that are "Screw", e.g. "M1.6". The user can then select from those just like with the other property mentioned above.