Lotus notes - Export attachments from database into a folder structure

Posted on 2014-10-13
Last Modified: 2014-10-16
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.
Question by:Hakum
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 46

Expert Comment

by:Sjef Bosman
ID: 40376800
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?

Author Comment

ID: 40376821
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.
LVL 46

Expert Comment

by:Sjef Bosman
ID: 40376856
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 40376912
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...

Author Comment

ID: 40376930
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?
LVL 46

Accepted Solution

Sjef Bosman earned 500 total points
ID: 40376986
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.

Author Closing Comment

ID: 40383938
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!

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question