/
Business Object Properties im Scripting

Business Object Properties im Scripting

Zugriff auf Complex Properties

Verschachtelte Elemente oder Complex Properties sind Eigenschaften, die selbst weitere untergeordnete Properties enthalten können.

Um auf ein Kind-Element einer Complex Property zuzugreifen, wird ein Pfad aus den technischen Namen aller übergeordneten Eigenschaften gebildet.
Dieser Pfad besteht aus den technischen Namen der Properties, die durch einen Slash (“/”) getrennt werden.

Beispiel

  • ParentProperty (Complex)

    • ChildProperty (Complex)

      • LeafProperty (Primitive)

 

Der Zugriff auf LeafProperty erfolgt mit folgendem Pfad:
ParentProperty/ChildProperty/LeafProperty

Collection Properties funktionieren ähnlich wie Complex Properties, können jedoch mehrere Elemente (Items) enthalten.

Der Zugriff auf die Kind-Elemente erfolgt ebenfalls durch die Angabe des Pfades.

 

Related content

C4 Property Editor
C4 Property Editor
More like this
C4 Property Editor
C4 Property Editor
More like this
C4 Property Editor
C4 Property Editor
More like this
C4 Property Editor
C4 Property Editor
More like this
Scripting Syntax
Scripting Syntax
More like this
Scripting Syntax
Scripting Syntax
More like this