JavaScript
Extending Lookup Fields with “Add new item” option
How many times were you working with Lookup Fields and just when you were about to pick a value, you found out that it’s not there. How many clicks did you have to make to get to the Lookup List, add the new Lookup Item, get back to where you were first and add your item? While it sounds trivial, it’s the only way things can be done in out of the box SharePoint. You could of course create a whole new Custom Field Type which would contain an “Add new item” link, but there is an easier way to get this done.
Quote of the Day Web Part, Reprised – Part 2
\Via [EndUserSharePoint.com\] In the previous article we’ve discussed all the different ingredients of the Quote of the Day Web Part. Additionally we have created the basics to retrieve quotes from a list and display them on the page. In Part 2 of the article I revise the mechanism for retrieving random quote of the day.
Quote of the Day Web Part, Reprised – Part 1
\Via [EndUserSharePoint.com\] In March, Mark Miller of EndUserSharePoint.com (EUSP) has created a Quote of the Day web part. And while it has been downloaded and installed on many sites, it has one shortcoming: you had to edit the web part’s code to manage the quotes. Recently Mark asked me whether it would be possible to do something about it, to make the web part more end-user friendly.
A SharePoint solution looking for a problem – the focused href
\Cross-posted from [EndUserSharePoint.com\] Recently I’ve been playing around with jQuery and some other JavaScript-based interface interactions. And so a couple of days ago I came up with another idea: the focused href.
jQuery :regex filter
jQuery is a powerful library which simplifies working with JavaScript. Using CSS-like selectors it allows you to grab DOM elements on a page and run some operations on it. As you might’ve guessed the power is not only in what kind of operations you may perform but also how efficiently you are able to select the elements that you’re interested in. jQuery ships with quite a few filters among which Content Filters: selectors which allow you to select DOM elements based on the text they contain. And while the standard filters allow you to do some basic comparisons they are not powerful enough in more advanced scenarios.