Adobe COLDFUSION 9 Manual page 1221

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
<cfquery dbtype="query" name="theResponses">
SELECT * FROM meetingData
WHERE MEETINGRESPONSE = 'Decline'
UNION
SELECT * FROM theResponses
</cfquery>
</cfloop>
<!--- Close the connection. --->
<cfexchangeConnection
action="close"
connection="conn1">
<!--- Display the results. --->
<h3>The Declined Responses:</h3>
<cftable query="theResponses" colheaders="yes" border="yes">
<cfcol header="From" text="#FROMID#">
<cfcol header="Subject" text="#SUBJECT#">
<cfcol header="Message" text="#MESSAGE#">
</cftable>
Getting items
You get one or more events, contacts, mail messages, or tasks from the Exchange server by using a cfexchangecalendar,
cfexchangecontact, cfexchangemail, or cfexchangetask tag, respectively, and specifying an
. ColdFusion returns the items in a query object that you specify in the
get
get by specifying selection conditions in
has the following pattern:
<cfexchange***
action="get"
name="results query object name"
connection information>
<cfexchangefilter
name="filter type"
value"filter value>
<cfexchangefilter
name="data/time filter type"
from="start date/time"
to="end date/time">
.
.
.
</cfexchange>
The following rules determine how you get items:
• You can have zero or more
• If you do not specify a
maximum of 100 items. To get more items, specify a
• If you specify multiple
match all of the specified conditions.
• If you specify multiple
match only the last tag with the duplicate
filter child tags. The code to get items from the Exchange server
cfexchange
tags.
cfexchangefilter
field in the structure specified by the
maxrows
tags with different
cfexchangefilter
tags with identical
cfexchangefilter
attribute.
name
Last updated 8/5/2010
attribute. You determine the items to
name
attribute, ColdFusion gets a
name
field value greater than 100.
maxrows
attributes, ColdFusion gets all items that
name
attributes ColdFusion gets the items that
name
attribute value of
action
1216

Advertisement

Table of Contents
loading

Table of Contents