the singularity of being and nothingness
CFSharePoint: Watch Out for Data Type Mismatches
Share this:
Print article | This entry was posted by existdissolve on September 11, 2009 at 7:54 am, and is filed under SharePoint. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.

Quick Update to Gloss
about 14 years ago - No comments
Based on feedback from several users (thanks to Charlie and Tyler!), I’ve updated the search interface to Gloss a bit. It’s still a work in progress, but this newest fix has resolved the issue of lack of keyboard navigation to search results from the search field. Here’s what has changed: You can now tab out…
Share this:

ColdFusion 9 and Ternary Operation
about 14 years ago - No comments
Just a quickie 🙂 I learned about ternary operators in JavaScript probably about 6 months ago, and absolutely fell in love with it. After all, who doesn’t love to convert something bulky to something clean and able to fit on one line? THEN: var myidea = ”; if(thething==’yes) { myidea = ‘great’; } else…
Share this:

Update Miscellany
about 15 years ago - No comments
Wow, it's been far too long since I've posted. I've been quite busy as of late, and have been putting the finishing touches on a couple of pretty decent sized projects. But perhaps most interesting to followers of this site is the fact that I'll be working with a friend of mine over the next…
Share this:

Headin' to Vegas!
about 15 years ago - No comments
Tomorrow morning, I jump on a flight (fortunately non-stop) for the Microsoft SharePoint Conference [09]. I'll either be not blogging at all, or very regularly…it's tough to tell at these kinds of conferences. Things I'm hoping to learn: This conference will unveil the newest release of SharePoint–I'm interested to see if there have been significant…
Share this:

CFSharePoint: Copy Items from One Folder to Another
about 15 years ago - No comments
In a previous post, I wrote about watching out for data type mismatches when using the CFSharePoint tag. While this is all well and good, much of my post was based on a misconception of how an "inout parameter" works. While I can't claim great knowledge of this, I think I have a better understanding.…
Share this:

CFSharePoint: Adding Groups…and Users to Them :)
about 15 years ago - 10 comments
Enough of lists! The last few posts, I’ve been dealing with the same old boring lists, and I’ve grown tired of that. So today, I want to show a quick example of how to use some of the Users and Groups web services to handle user and group management. So let’s say I have a…
Share this:

CFSharePoint: Adding List Items with Attachments
about 15 years ago - 1 comment
In my last post, I showed how simple it is to post a list item to a SharePoint list from Coldfusion 9. In this post, I want to expand a bit, showing how to add an attachment to a newly created list item. I also thought it would be a bit more fun to use…
Share this:

CFSharePoint: Adding List Items
about 15 years ago - No comments
After pretty exciting results with retrieving list data from SharePoint using ColdFusion 9, I’ve been quite eager to try out some of the other methods exposed by ColdFusion. However, retrieving lists is one thing; testing out methods that could actually modify data is another entirely. So, I broke down and spent several hours installing WSS…
Share this:

CFSharePoint…Yes!
about 15 years ago - 4 comments
The other day, I downloaded the beta for ColdFusion 9. While waiting for the download, I was looking through some of the marketing copy that Adobe had on their site about the new features for this release. I about fell off my chair when I saw that not only has ColdFusion 9 increased connectivity to…
Share this:

ColdFusion 9…Here I Come!
about 16 years ago - No comments
Oh yeah! I just received email confirmation today that I have been accepted to participate in the Centaur (ColdFusion 9) alpha release! Additionally, I am going to be able to beta Bolt, a new Eclipse-based IDE being developed by Adobe to be used in conjunction with ColdFusion. This is going to be fun 🙂
about -1917 years ago
Joel, you rock! Thx very much. Your post helped me finish my example. I was playin’ around w/ this and found that while the source parameter cannot take an empty string (""), it can take a string w/ 1 space (" "). Weird! Excellent find on that smartArray() function. Since I only need to send to 1 folder, I went ahead and put it inline. Here’s the code, fwiw:
<cfscript>
spAttribs={};
spAttribs.login={};
spAttribs.login.domain = "sharepoint.domain.com";
spAttribs.login.username = "username";
spAttribs.login.password = "password";
spAttribs.params={};
spAttribs.params.sourceUrl = " ";//cannot be empty
spAttribs.params.destinationUrls = {string=listToArray(‘http://’ & spAttribs.login.domain & ‘/Shared Documents/MyPDF.pdf’)};
spAttribs.params.fields={};
spAttribs.params.results="";
spAttribs.params.copyIntoItemsResult="";
</cfscript>
<cfdocument format="pdf" src="http://www.google.com" name="spAttribs.params.STREAM" />
<cfsharepoint action="copyIntoItems" name="myResult" login="#variables.spAttribs.login#" params="#variables.spAttribs.params#" wsdl="http://#variables.spAttribs.login.domain#/_vti_bin/Copy.asmx?wsdl" />
—
By far the most helpful ColdFusion cfsharepoint blog I’ve found!
about -1917 years ago
btw, the ‘STREAM’ in "spAttribs.params.STREAM" must be UPPERCASE