I guess I wasn’t specific enough.
I would like to know the step by step process of adding a button to an EMAIL that would add a meeting/appointment to a recipients calendar by them clicking this button.
There is a feature in the Notes Client already for this, under More…, then Copy into new…, and choose Calendar Entry. If this is not sufficient, I would recommend using the code in the Shared Action called “Copy Into NewNew _Calendar Entry”.
Why reinvent – its there already.
I believe he is asking if you send an email message to a group of people, how can you add a “hot button” in the email that will allow the receipents to click on and it will automatically add and event to their calendar. As oppose to just sending a calendar invite.
Here’s some sample button code to create a meeting on someone’s calendar for:
- Date and time: 23rd April 2011
- 9am – 9.30am EDT
Sub Click(Source As Button)
‘ CHANGE THINGS IN THIS SECTION
‘ this determines which type of calendar entry to make, choose from Appointment,
‘ Event, and Reminder
calEntryType = “Appointment”
‘ this set of variables is for the calendar entry that will be created
‘ First is the Subject that will appear in the calendar. Use Chr$(10) to add
‘a line break
calEntrySubject = “WebSphere Portal 6.5 What’s New”
‘Optional – if you would like you can include data for the location field and the
‘ details would be the body when you open the entry If you want to add thing
‘ just put it between the quotes. If you have more details to add (like multiple
‘ lines) you can just put it between two vertical bars like this: |
‘ put anything here including several lines | (You get a vertical bar by shift on
‘ the slash on the US keyboard).
calEntryLocation = |See call in details below
calEntryDetails = |
Meeting Topic – Performance Optimization for Websphere Portal
Web Conference Details:
1. Go to the URL – http://www.testportal.com
2. Click ‘Join a Meeting’ button in the top right corner of the page
3. Enter the Conference ID 009900
4. Enter your name and email address
5. Click the ‘Log In’ button
Dial In details:
Phone Number: 1-888-999-1234
Participant Passcode: 987654
‘Now Set the start and end times. To be sure of the proper date you can use the
‘ Datenumber as (year, month, day). (so it will accomodate different date
‘In the time be sure to include AM or PM and the time zone.
calEntryStartTimeStr = Datenumber(2011,04,23)+” “+”13:00:00 GMT”
calEntryEndTimeStr = Datenumber(2011,04,23)+” “+”13:30:00 GMT”
‘ these are the checkboxes from the options section of a calendar entry
markPrivate = False ‘ Mark Private – do not show other users the cal entry
‘ this set of variables determines whether or not to display the calendar entry
‘ to the user after it’s added to their calendar
displayCalendarEntry = True ‘ Valid values are True and False
‘This turns the feature of displaying the saved calendar entry to the user.
‘ this set of variables is for the displaying a message to the user if they press the
displayMessage = True ‘ turns the message box feature on and off – T/F
messageToDisplay = “The meeting has been added. Click Save and Close to complete”
‘ this set of variables deal with sending a note to an id you specify when the user
‘ presses the button (lets you know they added it)
‘sendReply = True ‘ turns the reply feature on and off – True and False
‘replyRecipient = “firstname.lastname@example.org” ‘ who should get the reply –
‘ separate multiple recipients with a comma (,)
‘replySubject = “I plan to attend the 23rd April 2009 Performance Session for Websphere Portal” ‘ subject of the reply message
‘replyMessage = ” ”
TSKnoxville: So how do add your suggested code to a button. Have tried and failed.
Could anyone advise how to copy the body of the email (with the button) into the calendar appointment that is being created?
Did you ever succeed Kramirez? I want to do the same, but below is a little bit beyond me