Lotus Notes Email Attachments

5 pts.
Tags:
Adobe Acrobat 9 Pro
Lotus Notes
Microsoft Office 2007
When attaching a PDF file from Adobe to Lotus Notes, how do I make the subject of my email and the attachment title the same?

Software/Hardware used:
Lotus Notes, Adobe Acrobat Pro, Microsoft Office 2007

Answer Wiki

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

See Notes Help for adding a custom @Formual button to your workspace. Use this formula. It does these things.

<ul><li>Use it from any Notes document. </li><li>It stops evaluation if the current document has no Subject field or the document has no attachments. </li><li>It assigns the attachment name to the subject if there is only one attachment.</li><li>It prompts you to pick the attachment name you want in the Subject if there is more than one attachment. </li></ul>

Don’t know if that’s what you wanted, but it is one way to do it.

@if(!@isavailable(Subject);
@Do(
@Prompt([ok];”No Subject Field” ; “The current document does not have a Subject field.”) ; @return(0)); “”);
varNames := @AttachmentNames;
@If(VarNames = “”;
@Do(
@Prompt([Ok];”No Attachments”; “There no attachments on this document. Please add an attachment and try again”);
@Return(0)
);
“”);
varSubject := @If(
@Elements(varNames ) = 1; varNames ;
@Prompt([OkCancelList];”Choose Attachment Name”; “Choose attachment name to assign to Subject”; “”; varNames));
@SetField(”Subject”; varSubject)

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
  • BruceWayne
    A solution would be to create an action that will run an agent coded in Lotus Script. This script will see attachement name and report it to the "Subject" field of the memo in the NotesUIDocument class.... I'm afraid it will be expensive to code for the poor result ...
    4,110 pointsBadges:
    report
  • Brooklynegg
    Couldn't the user create a smart icon button with @formula to grab the atttachment names, assign the attachment name as the subject, if there is only on attachment, or present a list of attachment names if there are more than one? As a smart icon, it would be available to any form in custom apps as well. Therefore, might want to check that Subject is an abailable field first. I'll post the steps and code if someone wants to try it.
    3,845 pointsBadges:
    report
  • Brooklynegg
    I coded a formula button. To add Add a custom button to your workspace with this code. Use it from any Notes document. It stops evaluation if the current document has no Subject fieild or the document has no attachments. It assigns the attachment name to the subject if there is only on attachment. It prompts you to pick the attachment name you want in the Subject if there is more than one attachment. Don't know if that's what you wanted, but it is one way to do it. @if(!@isavailable(Subject); @Do( @Prompt([ok];"No Subject Field" ; "The current document does not have a Subject field.") ; @return(0)); ""); varNames := @AttachmentNames; @If(VarNames = ""; @Do( @Prompt([Ok];"No Attachments"; "There no attachments on this document. Please add an attachment and try again"); @Return(0) ); ""); varSubject := @If( @Elements(varNames ) = 1; varNames ; @Prompt([OkCancelList];"Choose Attachment Name"; "Choose attachment name to assign to Subject"; ""; varNames)); @SetField("Subject"; varSubject)
    3,845 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