[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1083
  • Last Modified:

Lotus notes - Export attachments from database into a folder structure

Hi guys,

I'm quite new into Domino, so need you proff. help!

I need to export Data (word documentes, pdf etc. files) from an nsf. database, is this possible?

I would very much like it to copy down the structure locally into a folder structure, It has 3-2 headings hiearchy...

Kindly advise.
0
Hakum
Asked:
Hakum
  • 4
  • 3
1 Solution
 
Sjef BosmanGroupware ConsultantCommented:
Do you have Notes at your disposal, installed and operational?
Can you log in, i.e. do you have the necessary credentials to open the database?
Do you have a Domino Designer client?
Can you develop an agent in LotusScript, or can you modify an existing one if we supply some code?
0
 
HakumAuthor Commented:
I have Notes client 8.5, Domino designer 8.5 and domino admin 8.5 installed yes ( i am a local admin, so i can work locally but not in the production.

I have worked with Agents before, but never tried to create one, but with some help i might be able to modify the existing code, yes.
0
 
Sjef BosmanGroupware ConsultantCommented:
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
HakumAuthor Commented:
This is awesome! but i cant get it to work :(

I think there is a Module not working as it should, please view the SS.

i googled it abit but couldn't really figure it out...
http://www-10.lotus.com/ldd/nd85forum.nsf/DateAllFlatWeb/b601196dbf51835d85257a0200503198?OpenDocument
Capture.PNG
0
 
HakumAuthor Commented:
I got it working :P sorry for that :) although this was not entirely what i was looking for, yes some of it! but i wanted to check a few files so it would autocreate the folder structure itself not just export the file... would this be possible?
0
 
Sjef BosmanGroupware ConsultantCommented:
Ah, you want to re-create the structure of the Notes folders, but then as disk folders? Hm, that's different indeed. Firstly, there is no "folder" structure in a Notes database, it only appears that way. A Notes folder is like a Notes view: it has a name and documents in it. If the name happens to have backslashes in it, those backslashes serve as separators between folder names like in a hierarchy.

So the idea would be to go through all objects in NotesDatabase.Views, check whether they are folders, get the folder names and reproduce the structure accordingly.
0
 
HakumAuthor Commented:
I solved the problem with exporting from LN and using powershell to create the folder structure and then using the agent you refered to and copied all the files into the correct folders. thank you!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now