Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello all,

 

I am working on a web app that will add Calendar events to user's Outlook calendars.

 

That part works fine. We have login credentials that will have access to the calendars so that the entries can be created. The entries are being created and saved on the correct dates at the correct time for the correct amount of time. The entries are coming in as 'TENTATIVE' which is what we want them to.

 

I still have two issues, though:

 

1 - The entries are coming in with a default reminder time of 15 minutes. I know I can change that to some other number of minutes, but I'd rather simply have no reminder at all.

2 - More importantly - The entries are being created so that when they are changed or deleted, notification is going back to the account that is creating them. NOT DESIRED FUNCTIONALITY!!!

 

Here is the code that is creating the calendar event:

 

strCalInfo = "<cal:location>" + Location + "</cal:location>" & _
"<cal:dtstart dt:dt=""dateTime.tz"">" + EventDate + "T13:00:00.000Z</cal:dtstart>" & _
"<cal:dtend dt:dt=""dateTime.tz"">" + EndDate + "T" + EndTime + ":00:00.000Z</cal:dtend>" & _
"<cal:instancetype dt:dt=""int"">0</cal:instancetype>" & _
"<cal:busystatus>TENTATIVE</cal:busystatus>" & _
"<cal:meetingstatus>CONFIRMED</cal:meetingstatus>" & _
"<cal:alldayevent dt:dt=""boolean"">0</cal:alldayevent>" & _
"<cal:responserequested dt:dt=""boolean"">1</cal:responserequested>" & _
"<cal:reminderoffset dt:dt=""int"">900</cal:reminderoffset>"

EventDate and EndDate are properly formatted - "YYYY-MM-DD"

EndTime is zero-filled.

 

Any help would be GREATLY appreciated!

 

Kahuna

The three most important things in life: God, your family, and the Green Bay Packers -- Not necessarily in that order.

Winning is not a sometime thing. You don't win once in a while, you don't do things right once in a while, you do them right all the time. Winning is a habit. Unfortunately, so is losing.

-- Vincent T. Lombardi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...