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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

microsoft azure information protection

Solved!
Go to solution

Greetings NI Community!

 

Recently we've had problems running LabVIEW applications that use the Report Generation Toolkit now that our IT department started using Microsoft Azure Information Protection.  Now when an MS Word or Excel document is created the classification must be manually selected: Unclassified, Public, Confidential, or Restricted.

LeahM_1-1642628969186.png

 

Has anyone else seen this problem and figured out a way to automatically choose the Azure security level using the Report Generation toolkit?  Thanks!🐯🐯🐯

 

 

 

0 Kudos
Message 1 of 4
(3,317 Views)

LeahM,

 

I am suddenly having issues with this as well.  Has anyone found a work around for this?

Upon execution, my code is suddenly stopping at NI_Report.lvclass:Save Report to File.vi and requiring user interaction to pick a document label. 

 

BrianK75_0-1650915294305.png

 

0 Kudos
Message 2 of 4
(3,239 Views)
Solution
Accepted by LeahM

The only way I have found around this is to create an MS Word .docx and save it with the desired document label (in the Sensitivity tab inside of MS Word). 

Use the Report Generation Create Report.vi to call this document as a template within your .vi.  Then rename & save. 

 

If anyone has an idea on how to adjust this property programmatically, it would be greatly appreciated. 

0 Kudos
Message 3 of 4
(3,232 Views)

Hi Brian - that's a really good work-around.  I'm just swearing off the use of MS Office products for future development.  Seems like IT security issues are just going to continue impacting us, so best to avoid those components that are affected by it, IMHO.

🐯🐯🐯

0 Kudos
Message 4 of 4
(3,226 Views)