Example Code

Extract All Attachments From a Lotus Notes Database Document Using ActiveX

Code and Documents

Attachment

Overview

This example VI demonstrates the use of System Exec to test the network connection of current PC.

 

Description

If you have multiple attachments within a Lotus Notes document, you cannot directly extract all of them to save to your computer using LabVIEW. Within Lotus Notes' ActiveX calls, all attachments have an ItemName of "$FILE," which does not specifically identify one attachment from another when using the "ExtractFile" ActiveX method for Lotus Notes. Thus, by using the ItemName of "$FILE," you can only reach one attachment.

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Lotus Notes - Extract All Attachments From a Document 2012 NIVerified.vi"
  3. Fill the information required at front panel
  4. Run the VI.

 

Additional Information or References
VI Snippet

Block Diagram.PNG

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

Ravi A.
National Instruments | Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.