Reply Document, pre filled out.

I would like to creat a default link on all pages that does a few things.

First, it takes the creator of the page as a variable, since many people can make documents it will change for each page..  

Second, it will make an active link that when clicked on will kick out a canned e-mail to that pages's creator with a preset message.  

No need for input by the user....

So for example, if you come to a page I created and click the link, it will send a canned e-mail to me.  But if you went to a page John Doe created, it will send the same canned e-mail to him.

Anyone have a desire to make such a beast?

I am not a Notes script person....

Points set for 100, will alter higher if requested and the scripts work. :-)
GrungyApeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ghassan99Commented:
u mean u just want to have a button or an action hotspot on the doc that will send a prepared email to the creator?

Create a hidden 'computed when composed' field with the value '@name([CN];@username)' then add a button (if u want hide it when the doc is a new one) with this script:

Dim ws as New NotesUIWorkspace
Dim uidoc as NotesUIDocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set uidoc = ws.CurrentDocument
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = "Form_Name" 'form that has the canned email
doc.SendTo = uidoc.FieldGetText("name_of_the_hidden_field_u_created")
doc.Subject = "A canned email"
Call doc.Send( True ) 'True to save the form with the emailed doc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ghassan99Commented:
PS This is will use the internal network for emailing. If this is going to be on the web, then its different.
0
GrungyApeAuthor Commented:
Thank you.  It will take a few days to test this and see how we do.  I haven't fogotten to grade it yet, just wanna make sure it runs as we intended.  Be patient!  :-)
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

GrungyApeAuthor Commented:
Oops, just spoke with some of the others in this project, looks like this server will be accessed from the web (browser) and a client.   Are you aware of what might be needed if it was a web interface... (sorry)

0
ghassan99Commented:
ok try this for now, and tell me later.
0
dalehendCommented:
@MailSend("Creator"; ""; ""; Subject; _
"Title of Canned Message"+@Newline; "Body" ; "")
);
0
ghassan99Commented:
@mailsend doesnt work in web app, and u cant specify the form to use!
0
dalehendCommented:
My mistake, He stated "Notes script' so I thought this was not a Domino app.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.