From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading File Viewer and Tag Viewer UI with preset filters

Solved!
Go to solution

The File Viewer and Tag Viewer support filtering by properties. However, as far as I can tell, the user must manually type in the filter values every time.

 

Is there a way to load the File Viewer or Tag Viewer web UIs, with filters already in-place? (For example, with a URL query string, perhaps? http://localhost/#fileviewer?Extension=tdms&minionId=cRIO1 )

Certified LabVIEW Developer
0 Kudos
Message 1 of 4
(1,472 Views)
Solution
Accepted by topic author JKSH

Yes, with the File Viewer when you configure a filter it does change the URL, but they can be very long like below.  Once you have a filter you want you can simply bookmark it with your browser and then use that link to get back to that view at any time.

 

https://localhost/#fileviewer/filter/propertiesQuery%5B0%5D%5Bkey%5D=minionId&propertiesQuery%5B0%5D...

 

Unfortunately, this isn't the case for the tag viewer, however you may be able to create a dashboard and use the various tiles to show the tags you use the most often.

Message 2 of 4
(1,435 Views)

You can however easily see the tags for a specific system from the systems detail page via a URL with something like the following.

 

https://localhost/#systemsmanagement/system/NI_cRIO-9042--SN-01E10AB8--MAC-00-80-2F-24-FB-CE/health

Screen Shot 2021-01-28 at 8.24.18 AM.png

Message 3 of 4
(1,433 Views)

@JoshuaP wrote:

Yes, with the File Viewer when you configure a filter it does change the URL, but they can be very long like below.  Once you have a filter you want you can simply bookmark it with your browser and then use that link to get back to that view at any time.

 

https://localhost/#fileviewer/filter/propertiesQuery%5B0%5D%5Bkey%5D=minionId&propertiesQuery%5B0%5D...


Perfect -- that's exactly what I need, thanks!

 

I should have noticed the URL change; I saw that the Tag Viewer's filter doesn't change the URL and assumed that the File Viewer behaved the same way.

 

The long URL isn't an issue as I will programmatically construct the URL query string in my WebVI.

 


@JoshuaP wrote:

Unfortunately, this isn't the case for the tag viewer, however you may be able to create a dashboard and use the various tiles to show the tags you use the most often.


Understood.

 

How easy or hard would it be for NI to implement a similar system in the Tag Viewer?

Certified LabVIEW Developer
0 Kudos
Message 4 of 4
(1,425 Views)