I love the new search function to the Gateway page. As my perspective projects continue to grow, I wondered if anyone has been enable to employ a search-type navigation to their own project?
I’ve set that up on a number of projects.
There is definitely a module-based approach you can take, I have typically either done an export of relevant data on Perspective Views and either set up a database to store relevant mappings or build a JSON file that includes the relevant info and parse through that.
In instances where a customer has set things up using an ISA-88 framework (or is using a Unified Namespace) and already had everything equipment related in a database this is even easier to set up.
Thank you! That sounds like what I was going to do but wanted to check I hadn’t missed a critical ‘easy button’ be-it a feature of 8.3 etc.
Sadly there isn’t an easy button for that, although it would be really nice if there was!
I have an entire system I use where I have everything organized by areas, but at the lowest level folder, each folder contains all the tags related to that screen/window/view. Then I have an "Area" tag/UDT that has tags inside it like "Window" or "View" that link to the path of the window/view related to that folder of tags. Then you can have a search popup that does a system.tag.browse to do a wildcard search of all tags in the system matching the search string, and lets the user select one and when they click "go to view/window", it reads the Area tag in that same folder to get the window/view and navigate to it accordingly. I also go a step further and flash the related graphic on screen so they can find it.
That sounds great, but doesn’t that lead to a ton of tag usage/overhead?
It's all done on demand and I have every template graphic on screens set to look at a vision client tag named LocatorTag that's just a string of the tag path and if the tag path of the template matches, it flashes for a few seconds then clears the locator tag. Since it's just a binding to a tag it's lightweight. Same can be done for Perspective with a session property.
Thinking about this a bit more it would be a perfect match for the global/ExtraGlobal functionality in the Metatools library. One of my team members used that to store massive amounts of coordinate data when a customer wanted to build a zoomable map view of their facility with dashboards when zoomed out and plant floor equipment at varying levels of detail when zooming in.
Would be pretty trivial to use the caching functionality there to store the search mappings and it is EXTREMELY fast. I don’t honestly know if it works out of the box with 8.3 yet, but as @andrew.geiger1 would say “it could, just give me a minute me figure it out”
You might also want to check out Nader Chinichian’s stuff, he is an absolute wizard. https://www.youtube.com/watch?v=dbkk9h59XZM
Yeah that is super sick/exactly what I woudl want to do