Exporting fileresource through LS

Hi,

I have an application that uses an image converting util. In order for the util to work it requires 4 config files.

I have added these files as fileresources (saving myself the trouble of having to manually copy the files to all clients)

My question is: How can I access these fileresources in LS so I can copy them to the clients harddrive? I have tried NotesNoteCollection without any luck (or maybe I just haven’t understood it fully :o) )

Thanks in advance

Birgit Olsen

Subject: Exporting fileresource through LS

I thought file resources were only used for design purposes. (Meaning LS can not access them only the designer clients.)

I know you can take what you have done and put those 4 config files in a notes document document (attach them into a rich text field). Once attached you can access them via LotusScript and copy to the client desktops.

HTH – Cheers

Subject: RE: Exporting fileresource through LS

Through NotesNotecollection you actually can access all design elements - didn’t seem to work properly though. Thanks for your input :slight_smile:

/Birgit Olsen

Subject: Exporting fileresource through LS

I would attach the files in a document (perhaps a profile document). You can write code to save the attachments on the client machine. It is useful to include a way to update the files if you ever need to change them.

Subject: RE: Exporting fileresource through LS

Thanks everybody - looks like it’s back to the drawing board :slight_smile:

Subject: RE: Exporting fileresource through LS

If you create a dxl file of the fileresource, base64 decode it you can extract the file to the local system, or potentially anywhere you want.