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


Jan 25, 2017, 2:32 PM
323 Posts

Y'need someone who knows BASIC.

  • Category: Notes Client
  • Platform: Windows
  • Release: 9.0.1
  • Role: End User
  • Tags:
  • Replies: 4

Honestly, when Notes was initially released it was intended to give users a long, useful, practical curve to help automate their work. Yep, the idea was to let users personalize it all. It was a tall order though. OTOH a lot of the features work awfully well to get you there.

With Standard Edition (and in fact Basic Edition too) you have the ability to create a program -- called an "agent" -- that runs locally on your workstation. It'd need to run on a schedule there. But it's not hard code to write.

In point of fact, as a developer I do the same thing, only in reverse. I attach files that've changed into Notes so that I've got backups for the day.

The objects for finding & extracting attachments are simpler to operate, if the sender were building a Notes mail. However, both systems have the ability to find & extract the data you're looking for, it's just more subtle to search for attachments outside the "mail content" field.

So, I'm telling you this "in theory". If you have no one on staff who can help you build such a small bit of code, I may find time to sketch it out for you. Unfortunately I also do this for a living. So it'd be a good time to get a buddy in your staff who is either great at programming things like Notes, or even Excel -- or if you want to take the initiative yourself, that's good too.

The Domino Designer Help has a pretty good tutorial that can get you (or someone else) started, too. The script will be checking "NotesDatabase.unprocessedDocuments", cycling through your mail, running across mail with attachments, then figuring out what to do with the attachment.

Jan 25, 2017, 8:08 PM
82 Posts
sample
Dim rtitem
Set rtitem = doc.GetFirstItem( "Body" )

If ( rtitem.Type = RICHTEXT ) Then

       ForAll o In rtitem.EmbeddedObjects

               If ( o.Type = EMBED_ATTACHMENT ) Then

                       Call o.ExtractFile ( |c:\attachments\| & o.name )

               End If

       End ForAll

End If

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