Don’t Use a Query String Parameter Called ID Unless You Mean the Item ID

The other day I got a question from my pal D’arce Hess (@DarceHess): I am using jsLink on a couple lists and I have an interesting circumstance I’m running into. Scenario: I have a list of Work Centers and each work center has associated machines that are in another list. I’m having an interesting situation…

Refreshing a Web Part Without a Postback Using jQuery’s AJAX Function

I’ve been working on several projects with good old SharePoint 2007 (MOSS). jQuery and jQueryUI sure can spice it up nicely. Recently, I decided I wanted to refresh the contents of a Data View Web Part (DVWP) based on a user selection – a simple click on one of a big set of links –…

Using SPServices & jQuery to Clone a Parent Item and All Its Children: Comments on Mark Rackley’s Post

Mark Rackley (@mrackley) is definitely earning the salary I’m paying him as the Marketing Manager for SPServices.  (Yes, that salary is zero.) He posted another great article about Using SPServices & jQuery to Clone a Parent Item and All its Children today, and I wanted to point out a few things about it. I’m not…

Passing a Source Parameter on the Query String with Multiple Other Parameters

I’ve posted on similar tricks to this in the past, but this little trick is really helpful and worth calling out on its own.  Say that you’d like to pass a Source parameter on the query String, as SharePoint often does for you: http://servername/sites/sitename/Lists/MyList/EditForm.aspx?ID=275&Source=http://servername/sites/sitename/default.aspx Simple, and you see it all the time as you navigate…

Encoding Query String Values Between .ASPX Pages

I ran into an instance today where a column’s data contained the ampersand (&) character when I hadn’t expected it to.  Since the ampersand is used to separate Query String name/value pairs in the URL, that ampersand was causing me problems. In general, you should always encode Query String values just in case they might…