My task right now is to have a screen that displays various metrics for all machines in one of our buildings limit results based on the device the perspective project is being run on. We will have multiple screens running this project displayed overhead and plan to have a table that associates each device identifier with a few machines in that area in order to limit what is seen on each perspective session.
From what I have read in other topics I understand that identifying a machine directly through a modern browser is not possible. I was wondering if there were any workarounds that would allow me to accomplish this without having the user select some option each time the project is opened OR if there are any plans to have this functionality available in Perspective Workstation (not sure if that is doable though).
I know this could be done in Vision, but currently the project only exists in Perspective and I would love to not have to migrate it over if possible.
Any help/advice is greatly appreciated. Thank you!
UPDATE:
Marked @pturmel's response as solution because I can only pick one but check out @Kevin.Herron's response as well for another way to go about this.
Can you trust the session.host
property?
1 Like
Forgot to mention that.
I do not think using session.host
is an option for us as there is a zero-trust exchange layer in our network that, as I understand, pulls from a pool of available IPs for all devices. So, I do not think that there will be a dedicated address that can be reliably used in this case.
Obi-Wan Kenobi session.host, you're my only hope!
Sorry, couldn't resist.
Consider running a Vision Client whose only window contains a Web Browser component. Use the client startup script to extract the machine name or MAC address(es) to include as parameters in the Perspective URL fed to the Web Browser component.
1 Like
This was going to be my other suggestion, though maybe from a special pre-made shortcut on the Desktop that you have to launch these Perspective browser sessions through.
2 Likes
Thank you both for the responses!
I will try do this approach. (there is no try )
Sounds perfect for what I need.
Another good option, I may play around with both of these and see how it turns out and which the users will prefer.
1 Like
Got caught up with another project and did not have time to get back and test these out until recently, but just as confirmation and an assist to any weary travelers that may happen upon this post this was my final solution:
My manager was not as big a fan of launching the project through Vision (that approach did solve the problem though) so we decided to use the 'pre-made shortcut' as recommended by Kevin.
I just wrote a simple one-line Batch file and gave it a spiffy shortcut on the desktop. It grabs the device name and launches the URL of our project using the device name as a URL parameter in my root view, then set that as a custom session property to be used wherever need be.
start http://gateway.domain.com:8088/data/perspective/client/ProjectName/%ComputerName%
1 Like