Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 901

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Office file interoperability
<cfsharepoint
action="getimaginglistitems"
login="#login#" name="result"
params="#{strListName="getpics",strFolder="#result3.title#"}#"/>
<cfloop array="#result.Library#" index="n">
<cfif n.ows_FileLeafRef
SUCCESS
<cfbreak>
</cfif>
</cfloop>
Access ColdFusion from SharePoint using custom Web Parts
You can access ColdFusion applications from within SharePoint using custom Web Parts. You can create a custom
Web Part using the Page Viewer Web Part template that is shipped, by default, with SharePoint services 2.0 and 3.0,
and Microsoft Office SharePoint Portal Server 2003 or Microsoft Office SharePoint Server 2007.
From the SharePoint Server page, click Modify Shared Page.
1
Select Add Web Part.
2
3
Click Browse from the pop-up menu. The Web Parts list appears.
Select Page Viewer Web Part.
4
Click Add. The Page Viewer Web Part loads.
5
6
Click the Open the Tools Pane link.
Specify the URL of the ColdFusion application in the URL text field. The ColdFusion application loads within the
7
Web Part.
Note: In a Multiserver installation on the Macintosh platform, SharePoint does not work properly if the tools.jar file is
present in WEB-INF/cfusion/lib. In this case, you see the following error message:"coldfusion.jsp.JavaCompiler's
UnknownCompiler: Unable to run the internal Java compiler: java.lang.NoClassDefFoundError:
javax/tools/StandardJavaFileManager." To overcome this issue, copy the tools.jar file to a backup directory and delete
the tools.jar file from WEB-INF/cfusion/lib.
Use Single Sign-On to access ColdFusion applications via SharePoint
SharePoint custom Web Parts let you access multiple ColdFusion applications from the SharePoint server using Single
Sign-On (SSO). After signing in, users can access multiple secure ColdFusion applications by accessing ColdFusion
services from multiple Web Parts.
Note: For single sign-on capability, you need Microsoft Office SharePoint Portal Server 2003 or Microsoft Office
SharePoint Server 2007.
To make a ColdFusion application available from SharePoint, use the CFSharepoint SSO WebPart template. This
template is a customized version of PageViewer WebPart. It enables you to pass SSO credentials to the ColdFusion
application. Download this template from the Adobe website or copy it from the ColdFusion 9 DVD.
Remember these points:
• Web Parts support only the native single sign-on solution; other pluggable single sign-on services are not
supported.
• Only single sign-on credentials are passed to the ColdFusion application. The ColdFusion application must have
the necessary logic to retrieve the credentials and login to the application.
contains "temppicrotate.jpg">
Last updated 1/20/2012
896

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents