Is there any way to access the content of a file resource from LS or Java? I’d like to, say, get a NotesNoteCollection containing “Miscellaneous format elements” search for a particular $Title value and get the content programmatically. It would greatly simplify the admin & management of my app…
Subject: Manipulate resource file
Unfortunately you can’t (for instance you can’t detach a resource file on disk using LS).If you plan to manipulate resources, you’ll have to create resource documents in an admin section of your db (the old way) and attach your files into them.
Thierry Cayla
Subject: I think they are accessible using WebDAV…
-
But I don’t think they are accessible directly in LS or Java. You have to use the Notes API to get to them, if I recall correctly. Someone who’s actually done this, instead of read about it, should feel free to correct me. (grin)
-
WebDAV makes them look like files. I’ve read numerous places that this works to enable drag and drop of resources in a file manger, so it seems it should work for accessing the resources in script by reading the same files.
Hope this helps…
Subject: WebDav configuration… article here
Good ol’ codestore shows you how to set this up.http://www.codestore.net/store.nsf/unid/FISR-6U8SN7?OpenDocument