Hi Team!
I have created 8 Services of the same kind, for them I want to create a custom Visio that reads the element from the service and gets parameter values.
The Services are the following:
For the Name, I made it easily this way:
The Visio I am creating has the following shape:
Thanks for your hints, they've been very helpful indeed.
Using the shape data ServiceContext I reached half the goal; now it comes the second "problem": I want to show the state of the following parameter
This parameter is expected to be "11803:Cho 0 [2.1.1.0]", 11803 is the parameter ID and the remaining part is contained in another table column
When I created the generic Visio file for this driver I set shape data this way
Which is the correct manner to replace [this element] in order to retreive data from the CO of the Service?
Riccardo,
‘Cho 0 [2.1.1.0]’ is the identifier of the row in the Changeover Table. Visual Overview needs to know which entry of the table you want to reference in your Visio. Therefore, it needs to be hard coded in the visio drawing ( instead of providing the ID of the column ).
In case the table does only contain one single row or in case you’ve only included one single row in your service, just use a ‘*’ to reference it.
Me and Riccardo had a call and it was possible to workaround this using a Service Property to get the correct row from the table.
Riccardo,
If you want to display parameter values, then you will have to add a 'Parameter' shape data and indicate the ID of the parameter :
Do note that instead of indicating the entire Element name, you can use wildcard in the Element shape data. Looking at the 3rd Element in your Service, 'CO ASI*' would also work. That way, you can work with one single Visio file for all your services
Hi Riccardo,
If I understood correctly, you would like to use the same overview for all the services listed in your screenshot. For this case you could use the shape data ServiceContext (Linking a shape to an element that is part of a service)
For example, the following shape data will make a shape (representing an element on a service) generic. This means that, regardless the service name, the shape will point to the child element CM - CED NBOX1:
Hi Emmanuel,
the wildcard '*' is working properly with the parameter of one element (two rows table) but it's not giving the value expected for another element, two rows table as well.
The table is the following
I want to display the Reclocker Status (ID 601), but first I want to be sure that it's reading the value from the correct row; so I referenced the shape to show the value of the second column in a fixed way:
In this case the value is correct:
If I use the '*', it displays a value that it's not even in the table of the service:
What am I mistaking?
Riccardo,
When using wildcard, you need to replace ‘:’ with ‘,’ .
So, in Parameter shape Data , you can set ‘601,Chassis 0 Slot 1 Reclocker *’
More info here : https://help.dataminer.services/dataminer/#t=DataMinerUserGuidepart_2visioLinking_a_shape_to_an_element_parameter.htm
Hi Emmanuel,
I just did what you suggested (‘,’ instead of ‘:’)but still have the wrong parameter displayed.
Instead of 2.1.0.0 it’s still 2.1.0.17 instead.
Hi Riccardo,
Can you post what’s the value of parameter 11899 from this element?
A tip, to quickly test visio placeholders, you can just create a text shape with value ‘[Param:…]’ and this text will be replaced by the value of the parameter. It can help you to understand if the placeholder is correct.