I have a Visio on a service which contains a child service with some elements.
I want to display a parameter of one of the elements in the child service.
The child service is called 'Satellite Feed'. The alias of the element on the child service is called 'Demodulator'.
I'm also using a grid layout.
So following is the configuration I use, however the name is not displayed.
Should I add anything else or change anything for the element name to be displayed?
Layout: Grid...
__Element: Satellite Feed
__Enabled: False
____Element: Demodulator
____Enabled: True
______Info: FORCE ELEMENT NAME
Hi Jeroen,
Due to the inheritance behavior of shapes, your 'Demodulator' shape data will be overwritten with the Element shape data of the parent (being 'Satellite Feed'). To prevent this, you can add the 'AllowInheritance=False' option to the child (see docs).
The alias will indeed now search for an element within your service to which your Visual Overview is attached. To change this scope, you can use the ServiceContext shape data. Placeholders can be used when a dynamic approach is desired.
The ServiceContext did the trick.
I also don’t need the subservice layer in that case. I can just add the element shape with the ServiceContext.
Perfect!
Hi Sebastiaan,
I actually have two sub services, each with a Demodulator element.
From what I can see if I use your solution (which works), it only shows the values from that one Demodulator, and not from the second one in the other sub service. It shows the same value from the same Demodulator both times.
Is there a way to make sure it picks the correct one?