Hi,
I want to display services automatically with Children/ChildType. Everything is working fine for example I can show name or properties of a service.
The service contains several elements which are renamed in the service.
Now I would like to show parameter informations of some elements in the service.
I tried it with "AllowInheritance=False" and also ServiceContext. But without any luck.
For example a simple parameter in the child:
Element: Source Probe*
Parameter: 203
ServiceContext: [this service]
Thanks in advance,
Stefan
Sebastiaan found the solution:
Options: ForcePropertyFromParent|AllowInheritance=False
Hi Stefan,
You're nearly there!
The [this service] placeholder resolves to the service that is assigned to the Cube card by default. You can change this to the service of the parent shape by using the ForcePropertyFromParent option.
Quick tip: You can always add the placeholder to the text of the shape to see the resolved value of your placeholder.
Indeed, the placeholders are resolved in the text of a shape. I had a look at the Visio and found that we need to have both ForcePropertyFromParent and AllowInheritance=False options. The first one to give the correct context to the [this service] placeholder, the second one to allow linking to an element in a subshape of a shape linked to a service.
Hi Sebastiaan,
still no luck :/
To be sure I tested the ForcePropertyFromParent option in every possible way. Parent, child, parameter.
Regarding the quick tip, do you mean to try [this service] in a text field?