I'm struggling to get the correct conditions for a hide/show in a Visio for a service.
This Visio sits on top of a service that is constructed using a Service Template. There is the possibility of 1 of 2 different encoders (different drivers). We want to show only the encoder that is configured for the service and hide the other one on the visio.
I had added some property values to specify if the encoder element was in use but I haven't had any luck so far. We have the added difficulty of the need for this to be dynamic per service, as the template and visio are used across over 100s services.
Any help would be really appreciated.
Hey Randy,
Thank you for your response, any help is much appreciated.
1) We are using 1 services template with a single visio
2) Yes it contains the ability to have either and will include the Element if the field is not N/A for example
3) They are different manufactures of encoders so a different driver. The rest of the flow is the same.
Hi Rebecca,
I noticed that this question has been inactive for some time now. If this has been resolved in the meantime, could you select the best answer to close the question?
Hi Rebecca,
Here is another option.
- Create the service template and add both encoder types as child elements. I had a customer who wanted 6 different IRDs to be optional in the same service so they did not have to create 6 separate services or 6 Visio diagrams. In the Service Template editor as seen in the image below, you can see where 6 different IRD child protocols are added. In this case they had a primary and a secondary path so (6x2 = 12) Child elements were created. Thus this template has all the possible IRDs that could be used in the service.
- When you edit the Child Element, select "This service child is optional. " If you do not check this box, the service will not be created because it cannot find that specific child elements. Checking this box means if the child element is not found, still create the service. The allows you to put child elements in the service template that may or may not be present in the service.
3. In the Visio drawing you use for the service template, make a visio object for both encoders and stack them on top of each other. I suggest you make them the exact same size. Visio will only display the encoder object if the service template finds that specific child element. Other wise it does not show the object which allows you to stack and see the correct encoder.
If you would like, send me an email and I can send you the visio file. But here is an example where all the IRDs are stacked in visio.
randy.ulvenes@skyline.be
Hi Rebecca,
I think I had a similar situation; I am using a service template to deploy services that have two types of IRDs (2 protocols) as part of the service.
To make the Visio generic, for the graphocal elements, I used the
Show Shape Data :
<A>-A|Element:[property:IRD_ElementID_A]|PROTOCOL|=CISCO D9854
and
<A>-A|Element:[property:IRD_ElementID_A]|PROTOCOL|=CISCO D9800
Hi Rebecca,
Instead of using service properties, a possible option is to include/exclude dynamically the element from the service:
Then in your overview you could use the option ServiceIncludeState to show/hide the element (value = Excluded).
Hope it helps!
Hey Miguel, thank you for trying to help here but the question wasn’t about the service template, this is working fine. The question is about the ability to hide/show in the visio that we have created. The visio we need to look the same and we want to dynamically include the correct element in the visual.
Hi Rebecca,
Indeed, I understood that the problem is not the service template. The objective of modifying the service template is to provide you the ability to include/exclude child elements. In that way you can use the option (ServiceIncludeState) to show/hide child elements in the Visio file assigned to the service
What would the syntax look like for the Visio?
I’m not sure we want to use the Conditions feature, as the template is already including/excluding without the additional configuration step. If this is the only way to show the correct element dynamically then we will consider it for sure
I had a customer in a similar situation who had 8 different Sat Receivers (8 different protocols) used for 900 services and had the same issue and did not want to use 8 different service templates. So what your trying to do is possible.
A few questions for clarification:
1) You want to use one Visio on one Service Template.
2) The Service Template has both Encoders as elements?
3) When you say different drivers. Are these different protocol drivers for different type/make of encoders or is it just different versions of the same protocol for the same type of encoder?
Thanks – Randy
I will go back an look