Reattach Document Links in Domino 5

Tags:
Domino 5
Lotus Domino Server 5.x
Lotus Notes engineers
LotusScript
I have Lotus Domino 5, am on a project where i need to convert existing wordpro attachments to Word documents.As i already extracted all wordpro documents from archive database and converted them to Ms word and reattached to the archive database. But i don't know how do i get the new attachment name and also create the new link to the existing database link. I really appreciate if any one give me answer ASAP. Thanks in Advance

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi

I presume you worked in LotusScript to do that ?
If so, you shoul use (or call) the methode “Source” on the “NotesEmbeddedObject” to know the original name of the attached file.
If you code in Java, it is quiet the same but with “EmbeddedObject” class…

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • MigrationSpecialist
    I think u got it. But what i mean is reestablish the original links with the Archive DB is confusing. Can you guide me further... Thanks in Advance.
    40 pointsBadges:
    report
  • BruceWayne
    I thing you should loop from all the archive documents, instantiate an "NotesDocument" object for each Archive document (let's say arcDoc) , and the call the Rtitem.AppendDocLink( arcDoc, "Link to arhive document" ) Rtitem is the target RichText field where you want to store the doclink to archive document. NOTA : It will create a link to the whole archive document, not directly to the attached files in the archive document....
    4,110 pointsBadges:
    report
  • MigrationSpecialist
    Am really sorry to disturb u again. I have an application Database for which they have archive database which stores attachments and have a link in the application Database. What i did was converted all attachments in Archive database and reattached to the archive DB. Now the moment i save i can't see the embedded attachment New name in Archive DB. And i will try using the method you said. But it would be great if you can show me the code. Thank u vvvvmuch
    40 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following