1,463 articles and 9,964 comments as of Friday, March 26th, 2010

Power Users often request the ability to pre-populate form fields. The most straight-forward approach involves passing form field values in the URL as a query string. A while ago, the SharePoint Designer bloggers posted a solution with POJ (plain old JavaScript). Since I’m on a roll, I figured it was time to update this script with some jQuery goodness.

I couldn’t sleep last night because a simple work-around that has escaped me for at least a year came to me as the full moon was setting. The dilemma of not being able to see every version of a notes field in a SharePoint List has frustrated me and others for many moons. This solution (work-around) could not be simpler. Here’s the rub. I have a list and the Notes field is set with versioning “on”. Because I want everything and I want it now, the “View Entries” link to the item’s DispForm is a headbanger. JavaScript or other code solution haven’t seemed to surface yet.

Browsing through some SharePoint stuff this morning I came across this JavaScript add-in for embedding videos into SharePoint list items.

I recently discussed several improvements to the Preview Pane but Live Events, using event delegation, holds the greatest benefit. It also presents the greatest challenge to someone new to scripting. But first, I will “walk the script” and point out which parts do what so you can make your customizations as needed.
Click “Read [...]

It’s been a wild ride for the past month, so I’m taking a week off from giving live online workshops next week and catching up on the publishing schedule. Here are some things you can look forward to on the site:

We just finished with the Color Code a SharePoint Calendar, live online session. This was a real fun one! Everyone figured out a way they could use the solution in the production calendars.
A very special thanks to Chrisophe at Path to SharePoint for the original idea of using the calculated column to format calendar information. [...]

Live Events, new in jQuery 1.3, give us another tool when dealing with the SP user interface.
Clicking, moving the mouse, and pressing keys all trigger events in the web browser. In JavaScript, we try to capture these events, using event listeners that trigger interactions to control the user experience. In my previous examples, [...]

JQuery plugin patterns are great. The recommended pattern allows for an options object to pass into the methods during invocation with a bunch of defaults to make options, well, optional. But options don’t play well with cookies. In this article, I’ll tell you a little about why options are great, why you might want to store them in a cookie, and how to do that using SharePoint’s built-in functions.

This is a tweet aggregator for the Best Practices conference. Any tweets with #spbpc #spbpuk will show up here. In addition, there can be live commentary from multiple sources with unlimited content length, including images. Please give some feedback if you find this interesting or useful.

If you read the previous articles on AOP, you know I’m a fan. It took some serious digging for me to understand how the JQ-AOP plugin works and how I could use it to fit my needs. I succeeded and I think you’ll really like the result.
But First, A Little About Objects
In JavaScript, [...]