MACROMEDIA BREEZE 5 Integration Manual page 38

Hide thumbs Also See for BREEZE 5:
Table of Contents

Advertisement

If you want to provide links to content items in the form of absolute URLs, determine the
4.
domain name of the folder:
<cfset domainElement= XmlSearch(xml,
"//sco[@tree-id='#myTreeId#']/domain-name")>
<cfset domainName= domainElement[1].XmlText>
Call the
5.
sco-contents
The following API provides a list of the contents of the specified folder:
<cfhttp url="#baseurl#api/xml?
action=sco-contents&sco-id=#contentSco#" method="post">
<cfhttpparam type="Cookie" name="BREEZESESSION" value="#loginCookie#">
</cfhttp>
Parse the returned XML and display relevant information to the user:
6.
<cfset response= cfhttp.FileContent >
<cfset contentXml= XmlParse(response)>
<cfset contents= XmlSearch(contentXml, "//sco")>
<cfset contentCount= ArrayLen(contents)>
<cfoutput>
<table>
<tr>
<th>SCO ID</th>
<th>Name</th>
<th>Type</th>
</tr>
<cfloop index="i" from="1" to="#contentCount#">
<cfset item=contents[#i#]>
<tr>
<td>#item.XmlAttributes["sco-id"]#</td>
<td>#item.name.XmlText#</td>
<td>#item.XmlAttributes["type"]#</td>
</tr>
</cfloop>
</table>
</cfoutput>
To provide links to launch content items, call the
7.
the item's full absolute URL by appending the returned
acquired.
This results in a URL such as http://breeze.example.com/p12345678/.
For more information about launching content, see
on page
19.
To create a new meeting:
Log in as the user.
1.
(Optional) Let the user determine the ID of the folder in which to create the new meeting, using
2.
a web-based interface. If you don't specify a folder, the meeting is created in the my-meetings
folder. You can determine the ID of the my-meetings folder by calling the
38
Chapter 3: Common Tasks
API, using the folder's SCO ID.
API for each item, and determine
sco-info
tag to the domain name you
url-path
"About security and launching content"
API.
sco-shortcuts

Advertisement

Table of Contents
loading

Table of Contents