Solved

Lotus notes - Export attachments from database into a folder structure

Posted on 2014-10-13
7
700 Views
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.
0
Comment
Question by:Hakum
  • 4
  • 3
7 Comments
 
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?
0
 
LVL 1

Author Comment

by:Hakum
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.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 40376856
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 1

Author Comment

by:Hakum
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...
http://www-10.lotus.com/ldd/nd85forum.nsf/DateAllFlatWeb/b601196dbf51835d85257a0200503198?OpenDocument
Capture.PNG
0
 
LVL 1

Author Comment

by:Hakum
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?
0
 
LVL 46

Accepted Solution

by:
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.
0
 
LVL 1

Author Closing Comment

by:Hakum
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!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 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