tracker issue : CF-3037270

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 75003:There is no way that I can find to specify the name of the calendar for <CFEXCHANGE> to use

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Reed Powell / Reed Powell (Reed Powell)

Created: 01/15/2009

Components: CFExchange

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Win All

Vote Count: 12

Problem:

There is no way that I can find to specify the name of the calendar for <CFEXCHANGE> to use.  If the user associated with the username/password for the connection has multiple calendars, there does not appear to be any means for accessing the "secondary" calendars (ie, those created by the user).  OWE is able to display the calendar, so this would lead me to believe that the API is capable of dealing with multiple calendars. 

The <cfexchangeconnection folder="[mailbox folder path]" syntax is only for retrieving the names of the folders, which would include the name of the calendar folders – but nothing in the query returned identifies the type of folder for the list of folder names returned, so there is no easy way to determine which are calendars.

If you are reading mail messages via <cfexchangemail> then you can use the FOLDER= attribute,  but there is no corresponding attribute I can find with <cfexchangecalendar> to specify the foldername of the calendar you want to use.  There is a similar problem with <CFEXCHANGECONTACT> and <CFEXCHANGETASK>.

It looks like this is just a void area in the CF implementation of interfacing with the API.

Method:

Do this and you only see the items in the "primary" calendar for the exchange user:
<cftry>
	<cfexchangeconnection action="OPEN" connection="exchangeConnection"  server="#request.msxserver#" username="#username#" mailboxname="#mailboxname#" password="#password#" protocol="http" > 

	<cfexchangeconnection action="getsubfolders" connection="exchangeConnection" name="x"  folder="test calendar" > 
		<cfcatch type="any"><BR>ERROR: CANNOT LOGIN TO MAILBOX<Cfabort></cfcatch>
</cftry>
<cfdump var="#x#">
	 Getting calendar data ... 
	<cfexchangecalendar action = "get" 
	name ="RoomInfo" 
	connection ="exchangeConnection"> 
	<cfexchangefilter name = "starttime" 
	from = "#dateToDisplay# 00:00" to="#dateToDisplay# 23:59" /> 
	</cfexchangecalendar> 
	Closing connection to server
	<cfexchangeconnection action = "close" connection = "exchangeConnection" /> 
<cfdump var="#roominfo#">
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3037270

External Customer Info:
External Company:  
External Customer Name: Reed Powell
External Customer Email: 0C7666B046112672992015D5
External Test Config: 01/15/2009

Attachments:

Comments:

+1 vote. I agree this is a fairly significant shortcoming of the implementation. -- Adam
Vote by External U.
24177 | November 10, 2011 07:12:19 PM GMT
This bug has been voted..
Vote by External U.
24178 | November 10, 2011 07:12:20 PM GMT
This bug has been voted..
Vote by External U.
24179 | November 10, 2011 07:12:21 PM GMT
This bug has been voted..
Vote by External U.
24180 | November 10, 2011 07:12:23 PM GMT
This bug has been voted..
Vote by External U.
24181 | November 10, 2011 07:12:24 PM GMT
cfexchangecalendar is all but useless (in an educational environment) if multiple public calendars. cannot be CRUD'd Only pulling the users calendar may work for individual, but not group environments
Vote by External U.
24182 | November 10, 2011 07:12:26 PM GMT
I have set up a similar issue about cfexchangecontact and subfolders. issue id = 82791.
Vote by External U.
24183 | November 10, 2011 07:12:28 PM GMT
This needs to be corrected. It is very common for users to create additional calendar folders in their mailboxes. Ditto for other "default" mailbox folders.
Vote by External U.
24184 | November 10, 2011 07:12:29 PM GMT
i bought cf to implement exchange more the way i like it. but ther are so many bugs/missing features that i think this is just a selling point to buy this product and not to work with it
Vote by External U.
24185 | November 10, 2011 07:12:29 PM GMT
This bug has been voted..
Vote by External U.
24186 | November 10, 2011 07:12:31 PM GMT
+1 We're in the process of testing and rolling out our first (CF8) Exchange-intergrating application, and this bug will bite us down the road.
Vote by External U.
24187 | November 10, 2011 07:12:32 PM GMT
+1, this is bad - not to have ability to specify additional calendars! *please* add this ability. Just ran into this today.
Vote by External U.
24188 | November 10, 2011 07:12:33 PM GMT