You are on page 1of 21

Two Great Tastes that Taste Great Together!

PRESENTED BY: (No, not really)

Sponsored by:

David Wilson Brown


Lead Web Developer, Europa Sports Products

CF = ColdFusion
CF9 = ColdFusion 9 (released October 5th 2009)

SP = SharePoint
SP 2010 = SharePoint 2010 (to be released late 2009)

SSO = Single Sign-On

Intro: Why CF & SP together?


Pre-CF9
Page Viewer Web Parts

Basic
Intermediate

CF9
<cfsharepoint> Single Sign-On access

Advanced

SP 2010?

Pure Speculation

ColdFusion is a rapid application development platform whose language, CFML is comparable to ASP, JSP & PHP, but more closely resembles HTML in syntax. ColdFusion is most often used for datadriven web sites, but can also be used to generate remote services such as SOAP web services or Flash remoting.
SharePoint is becoming the ubiquitous corporate team collaboration tool, often times used as a companys Intranet.

Many companies use ColdFusion for their external websites and some for their Intranet. The growth of SharePoint is such that many companies with current ColdFusion development are bringing SharePoint inhouse as well.

So a big request has been how to save the long developed ColdFusion apps with the move to a SharePoint based Intranet (for example)
We were one of those requesting

3/18/08 - What Would You Want From ColdFusion Microsoft SharePoint Integration?
We are a ColdFusion house. Our external website will always be ColdFusion (I hope!), but I have gotten my team to use WSS for several years and we are now looking to upgrade to MOSS 2007 within the month. We will then begin the process of changing our corporate intranet (which is now CF based) to a SharePoint portal. Being in that situation, I would love to see: 1. A ColdFusion web part for SharePoint where ColdFusion applications can act normally within SharePoint structure. I would love to save some of our current CF applications and utilize them within SharePoint. 2. A CF tag that would help add a list item to a list in SharePoint. I think the big stumbling block to adding a list item is some proprietary code (GUID) that MS puts into a list item record. Determining the appropriate value for the code would be the main thing necessary, I think. Thanks Ben. I am excited to see an interest in what I thought was a fairly unique situation that we were in. Me 3/24/08

You have some knowledge of CF


You have some knowledge of SharePoint You care to hear more about this topic

You generally like me, at least from what youve seen of me thus far

Stone Chisel

Add Page Viewer web part to any page Point the web part to a ColdFusion template via URL Resize the web part to fit the content Voil

Adding Web Part w/ ColdFusion 1. From the SharePoint Server page, click Modify Shared Page. 2. Select Add Web Part.

3. Click Browse from the pop-up menu. The Web Parts list appears.
4. Select Page Viewer Web Part. 5. Click Add. The Page Viewer Web Part loads. 6. Click the Open the Tools Pane link. 7. Specify the URL of the ColdFusion application in the URL text field. The ColdFusion application loads within the Web Part.

EXAMPLE

Hal 9000

Could it be any more obvious? Allows your ColdFusion server to communicate to and from your SharePoint instance. The following is an Adobe example.

<cfsharepoint action="addlist" domain=<your domain> userName=<your user name> password=<your password> params="#{ listname ="getpics", description="This a picture library list", templateId= "109 " }#"/>

<! --- Creates a folder within the picture library list ---> <cfsharepoint action ="create new folder" domain=<your domain> userName=<your user name> password=<your password> name="collection1" params="#{strListName="getpics", strParentFolder=""}#"/>

<!--- Uploads pictures to the folder that you created ---> <cfscript> myimage = filereadbinary(expandpath("Bird.jpg")); //convert the image into byte array to pass as input for "upload" action. </cfscript> <cfsharepoint action="upload" domain=<your domain> userName=<your user name> password=<your password> params="#{strListName="testpics", strfolder="Collection1", bytes="#myimage#", filename="bird.jpg", fOverwriteifexist=true}#"/>

Allows your ColdFusion app to utilize the AD login from SharePoint. CF9 ships with SSO Web Part (CF9SSOWebPart.wsp)
Deploy to your MOSS

Benefit is to capitalize on SharePoint Permission Hierarchies to limit what a user can do.

You have the SP Page Viewer web part


So why not build a Flex App
To run with a CF9 backend
Which would be able to affect SharePoint list items!

EXAMPLE (sort of)

Server software 64-bit ONLY Menu interface change


If SharePoint 2007 = Office XP,

then SharePoint 2010 = Office 2007


Silverlight web parts Holographic Laser Shows (just kidding) No word yet on how SP 2010 will effect CF9 integration

davidwilsonbrown@gmail.com

davidwilsonbrown.wordpress.com

@davidwbrown

/davidwilsonbrown/

David Wilson Brown

Ben Fortas SharePoint in CF9 announcement: http://forta.com/blog/index.cfm/2009/7/10/ColdFusionSharePoint-Integration


CF9 SharePoint integration: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/W SE4D1ED62-0267-445f-8A3B-4642F3F26383.html CF9 Beta Hosting: http://hostek.com/hosting/coldfusion/coldfusion9hosting.asp Good Blog with CFSharepoint content http://www.singularityconcepts.com

You might also like