NotesEmbeddedObject class [File Attachment]

Hello,

I Have an agent that currently runs and exports data to excel. I’m aware that there is code to automatically save the excel file … but I would like to know if there is a way to have an agent that can read where the excel file was saved [c:/temp] and populate the file into the lotus notes database? Can it also be saved in a view? somewhat new to lotus notes … thanks in advance for responding.

Subject: NotesEmbeddedObject class [File Attachment]

When you save the Excel file from LS, you have to specify filename and path. You can then use the same filename and path to attach the file to a Notes document.

I’m not sure what you mean by “saved in a view”. No data can be saved to a view. Data can only be saved to a document. A file attachment can only be attached to a NotesRichTextItem, except on the web.

A view is used to display data in documents. You create a selection formula to filter what documents you want to display in the view, and define what information should be visible in the view.

/Peter