We have setup a custom view in DataMiner (refer to the attachment)
- Let's assume, we have 40+ services in the European region. We wanted to have a search functionality based on the service name. When searching for service by name, it has to take the relevant service. Is it possible in Visio?
You can simulate the search functionality with 2 basic Visio functionalities:
- Add a text box that sets a session variables, this will act as a search.
- Add a 'Show' condition to each service based on the name. As long as the name matches the search string, we keep showing the shape.
Example:
Show <A>-A|Element:*|Name|RegEx=[var:SearchBox]
This is how it looks like in action:
Hi Jeyaram, the search box should only contain a “SetVar” shape data containing the name of the variable. In my example this is “SearchBox” (e.g. SetVar SearchBox). The other shape data should be applied to the shape representing a service. Feel free to also watch the Visual Overview course as this explain the above concepts in more detail.
This is all dependent on how you are linking the services.
You can do it in different ways:
- Dynamically generating shapes
- based on properties: Shape positioning based on coordinates stored in properties of elements, services or views
- based on table data: Shape positioning based on coordinates stored in dynamic tables
- If you are using this approach, you can use the SubscriptionFilter shape data in order to make filtering possible.
- Advantage: Very generic and to be used for multiple customers/views
- Disadvantage: Requires more time to make Visio and more experienced knowledge.
- Manually adding the services on the Visio
- You can use extended conditions to check if you want to hide/show the shapes: Extended conditional shape manipulation actions
- Advantage: Custom, you can make any custom changes
- Disadvantage: Very labor expensive.
- Using a table representation
- Turning a shape into a parameter control (Adding a filter box to a table control)
- Advantage: Very easy to make
- Disadvantage: Not a maps representation. You can link the table to the maps, i.e. clicking a row will show the selected services, but this requires experienced Visio knowledge as well (SelectionSetVar).
In summary, filtering services is thus technically possible.
Hi Ben,
I did create the top long rectangle shape and configured the shape Data “-A|38702/96331:*|Name|RegEx=[var:SearchBox]” but I cannot see the log rectangle box in the frontend.
Anything wrong?
PS: I can’t find an option to attach screen grab.