Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

A little progress - How to show the originated folder of a deleted message
~Sarah Reboosisteroni 24.Sep.03 01:03 PM a Web browser
Applications Development 6.0.2 CF1 Windows 2000


Hello guys. Thanks for all postings. I didn´t get the expected result yet but I´ve got some progress thanks to all of you. Here are the steps I´ve done:

1 - I´ve created an agent anywhere, just to enable FolderReferences on the MailFile.

Sub Initialize
Dim Session As New NotesSession
Dim DB As New NotesDatabase("SERVERNAME", "mail/MAILFILE.nsf")

If DB Is Nothing Then
Print "DB doesn´t exist"
Exit Sub
End If

Print DB.FolderReferencesEnabled
DB.FolderReferencesEnabled = True
End Sub



2 - After that, I´ve made a button on the "($SoftDeletions)" view to retrieve the originated folder name. When pressed, the originated folder name was printed on screen, just as predicted. As "($SoftDeletions)" is a View, its name is not considered as FolderReferences value.

Sub Click(Source As Button)
Dim Session As New NotesSession
Dim DB As NotesDatabase
Dim Col As NotesDocumentCollection
Dim Doc As NotesDocument

Set DB = Session.CurrentDatabase
Set Col = Db.UnprocessedDocuments

If Col.Count = 0 Then Exit Sub

Set Doc = Col.GetFirstDocument
Forall Folder In Doc.FolderReferences
Messagebox Folder
End Forall
End Sub


3 - The documents received/sent after the FolderReferences enablement (is this word correct??) acquired new fields: $FolderRef, $FolderRefFlags and $FolderRefID. Now I am trying to use this information to obtain the originated folder name in a view column.

I will share new informations as soon as I get them.

Regards to all,
Paulo Pedroso




How to show the originated folder o... (~Sarah Reboosis... 22.Sep.03)
. . Short answer, No. eom> (~Dan Elhipister... 22.Sep.03)
. . . . a bit longer answer... (~Lisa Lopresach... 23.Sep.03)
. . . . . . But after you delete it, it is in t... (~Dan Elhipister... 23.Sep.03)
. . . . . . . . When you restore the document, it g... (~Lisa Lopresach... 23.Sep.03)
. . . . . . . . . . Very Interesting. From the way the ... (~Dan Elhipister... 23.Sep.03)
. . . . . . . . . . . . RE: Very Interesting. From the way ... (~Holly Minjipyb... 23.Sep.03)
. . . . . . . . . . . . . . But he was right. If you un-delete ... (~Dan Elhipister... 24.Sep.03)
. . . . . . . . . . . . . . . . Does it go back, or did it never le... (~Yentl Quetkrot... 24.Sep.03)
. . . . . . . . . . . . . . . . . . Don't really know. Do know that the... (~Dan Elhipister... 24.Sep.03)
. . A little progress - How to show the... (~Sarah Reboosis... 24.Sep.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS