External Link Indicator for SharePoint Pages Using JavaScript
Many so-called Web 2.0 sites show a little icon for any links which send you out of their purview to another site. This is a nice thing to do within SharePoint as well. You can easily make this...
View ArticleOnward and Upward with jQuery: Reworking My External Links JavaScript
I’ve been watching so many folks out there doing cool things with jQuery, and it’s time to bite the bullet and get up to speed. I wanted to take a look at something I’d recently posted about and see...
View ArticleCascading Dropdown Columns in a SharePoint Form – Part 1
UPDATE 2009-08-26: I’ve translated this logic into my jQuery Library for SharePoint Web Services. I *strongly* suggest that you look at that as an option, as it is far more robust. And free! UPDATE...
View ArticleCascading Dropdown Columns in a SharePoint Form – Part 2
UPDATE 2009-08-26: We’ve translated this logic into our jQuery Library for SharePoint Web Services. I *strongly* suggest that you look at that as an option, as it is far more robust. And free! In my...
View ArticlejQuery Fun with Animation and Opacity
Over the last few days, I’ve been doing some more work with jQuery. It’s really a very cool abstraction on JavaScript, but it does take some getting used to. My latest challenge is to understand...
View ArticleDetermining the Current Site URL with jQuery and SharePoint’s Web Services
I’m not sure that I’m enamored with this as a solution, but I thought that I’d post this function to see what folks think and whether there are any better ideas out there. (I’ve looked, and I...
View ArticleThe Middle Tier Manifesto: An Alternative Approach to Development with...
For some time now, I’ve felt the need to set down my thoughts on the power of development in the Middle Tier for SharePoint. Today, I’m publishing the first edition of my white paper The Middle Tier...
View ArticleThe Middle Tier Manifesto: An Alternative Approach to Development with...
My white paper, The Middle Tier Manifesto: An Alternative Approach to Development with Microsoft SharePoint (see my prior post) has been garnering a decent amount of attention over the last few days,...
View ArticleThe Middle Tier Manifesto – In Spanish!
I was looking through the incoming links here on my blog tonight, and I noticed this one: Middle Tier (un método alternativo para desarrollar en SharePoint). Well, that was interesting enough to click...
View ArticleA Codeplex-like Site for "End User SharePoint"-like Solutions?
Yesterday, I saw a tweet from Joel Ward which immediately got my attention: Joel and I went back and forth on Twitter for a while. The gist of the conversation was: What is the best game in town for...
View ArticleThe JavaScript CompressorRater
When I release a new version of my SPServices library, I always release two versions: the regular JavaScript/jQuery file and the minified version of the same. Minification “squishes” the scripts...
View ArticleCan You Minify or Compress XSL?
I got this question in one of my courses over at the USPJ Academy, and I though the answer might be more widely useful. JavaScript files (and CSS files) can be minified for production use) – ref. your...
View ArticleNeat Trick to Ensure You’re Serving Up “Fresh” Script and CSS in SharePoint
This is a cool trick devised by one of my colleagues at my current client. (Confidentiality reigns supreme in client situations. Suffice it to say that this wasn’t my bright idea, but I give credit to...
View ArticleWhy Use DOM Manipulation Over Custom Code?
Every once in a while, I write a fairly long response to a question in one of my USPJ Academy courses that just feels like a blog post. Here’s another one of those. We’ve been discussing why you would...
View ArticleHow to Fix "Sys.ArgumentTypeException: Object of type ‘Sys._Application’...
Image via CrunchBase In one of my client projects, we kept seeing this error, and basically ignored it for a long time. In our case, we saw the errors specifically on pages that included NewsGator Web...
View ArticleScript in Content Editor Web Parts (CEWPs) in SharePoint 2010
<UPDATE> 2010-10-27: After you read this, be sure to read Christophe’s follow-up to this post: About Scripts, Web Parts and Urban Myths. He gives some other specifics you’ll probably need....
View ArticleAdding Expand/Collapse Logic to your Data View Web Parts (DVWPs) –The Easy Way
Live and learn. Maybe that’s my mantra. One thing I can tell you is that the first time I come up with a way to do something, it’s rarely the best. If I look at some old code of mine and think it’s...
View ArticleUsing SPServices & jQuery to Clone a Parent Item and All Its Children:...
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...
View ArticleAdding Script into a Content Editor Web Part (CEWP) in SharePoint 2007
This post was cross-posted on NothingButSharePoint.com on 26 April, 2011. This one may seem so obvious as to not merit a post or two, but I get questions on it often enough and I realized that if I had...
View ArticleAdding Script into a Content Editor Web Part (CEWP) in SharePoint 2010
This post was cross-posted on NothingButSharePoint.com on 9 May, 2011. In my earlier post, I showed how to add script into a page using the CEWP in SharePoint 2007. In this post, I’ll do the same for...
View ArticleSharePoint Myths – Part 2
Last week I had the privilege to hear the well-known author Dan Brown speak at a dinner for my alma mater, Phillips Exeter Academy. You undoubtedly have heard about a little book he wrote called The Da...
View ArticleUsing Script to Hide Content: Not Always a Good Idea
I got a question on one of my other blog posts today called Determining if a User Is in a Permission Group with SharePoint’s Web Services: hi marc, do u know a good solution to hide something on a page...
View Article"One of the most impressive web pages I have ever seen in SharePoint"
Several people have asked me what I showed Dan Antion last week which caused him to say “Marc began by showing us one of the most impressive web pages I have ever seen in SharePoint.” I’m not sure that...
View ArticleFinding the Distribution of Column Types in a SharePoint List with SPServices
I just went through a little exercise that was simple, but fun, and I thought I’d share. As part of building my new SPXmlToJson function for SPServices, I wanted to spin through some of my lists to see...
View ArticleSPServices v0.7.1ALPHA7 Available for Testing
I posted a new alpha of SPServices v0.7.1 today. Even though I just released v0.7.0 in early December, I’ve been working steadily to get some great new functionality and performance improvements into...
View ArticleCool SPServices Developments Today
A couple of cool things happened today with SPServices that I thought I’d capture in a post. First, I saw a couple of tweets this morning from Ryan Kirkman (@ryan_kirkman). Ryan runs a CDN for...
View ArticleWorking with SharePoint People Pickers with jQuery: A New Function Called...
Notice2012-09-07 – Note that I’ve added a more robust version of this function into SPServices v0.7.2, which at this writing is in beta but will be released soon. See the docs for SPFindPeoplePicker. I...
View ArticleSharePoint 2010 Ribbon Button Error –"Access is denied. sp.ui.rte.js…"
Heather Waterman (@hwaterman) and I turn to each other fairly regularly when either of us is stuck on something that we know the other will understand better. It’s the tremendous value of the...
View ArticleRefreshing 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...
View ArticleSoftware Development Literacy – Wave of the Future or Doomsday Device?
A few months ago, I read a newspaper article – which unfortunately I can’t find – about the idea that software development literacy may someday seem as normal as reading literacy is today. I didn’t...
View ArticleSharePoint Designer 2013′s Missing Design View – More Thoughts
I’ve written previously about SharePoint Designer 2013′s Missing Design View here on my blog as well as on the Microsoft forums and elsewhere.. My goal in writing about this and making a lot of noise...
View ArticleSharePoint Designer 2013′s Missing Design View – It’s Official
Well, Keenan Newton did a post on the Microsoft SharePoint Team Blog entitle Changes to the Design View in SharePoint Designer 2013 yesterday that makes it official: the Design View in SharePoint...
View ArticleIs Client Side Scripting a Good Way to Access SharePoint Data?
People reach out to me all the time to ask my advice on how to accomplish certain things with SharePoint. Sometimes I can help, and sometimes their questions are way beyond me. One of the benefits of...
View ArticleUsing _spPageContextInfo to Determine the Current SharePoint Context in Script
Sahil Malik had an extremely useful little post about a month back that I emailed to myself and then promptly forgot. Today, Mikael Svenson pointed back to Sahil’s in a post of his own that is also...
View ArticleWorking Title: Black Magic Solutions for White Hat SharePoint
Here’s something really exciting. I’m one of nine authors for an upcoming SharePoint book we’re putting together with Mark Miller (@EUSP), good old Mr. EndUserSharePoint himself. It’s going to be all...
View ArticleDetermine if a SharePoint Publishing Page Is in Design Mode (Edit Mode) with...
Today I was working on some script for the home page of a SharePoint 2013 site which added the jQueryUI accordion behaviour to all of the Web Parts within a Web Part Zone. When I went into edit mode,...
View ArticleSPServices Stories #17: Multiple Form Fields Autocomplete for SharePoint...
This entry is part 16 of 17 in the series SPServices StoriesIntroduction Anyone who follows this series knows that I’m always on the lookout for interesting and useful implementations of SPServices. A...
View ArticleSPServices Stories #18 – Retrieve Managed Metadata Using JavaScript and...
This entry is part 17 of 17 in the series SPServices StoriesIntroduction Stefan Bauer Stefan Bauer (@StfBauer) and I have known each other for a while now. We share a passion for developing solutions...
View ArticleSetting a Conditional Breakpoint in Firefox with Firebug
Every once in a while I click randomly on something and realize that I’ve been an idiot. OK, sometimes it doesn’t require clicking on anything. First off, if you’re working on client side code and you...
View ArticleSPServices Stories #19 – Folders in SharePoint are as necessary as evil. Make...
This entry is part 18 of 18 in the series SPServices StoriesIntroduction Ever on the hunt for good SPServices Stories, I spotted this cool one a few weeks back when Patrick Penn (@nfpenn) posted a...
View ArticleSPServices Stories #20 – Modify User Profile Properties on SharePoint Online...
This entry is part 19 of 19 in the series SPServices StoriesIntroduction Sometimes people ask me why I’m still bothering with the crufty old SOAP Web Services in SPServices. After all, there are REST...
View ArticleKnockoutJS with SharePoint: Fixing ‘Error: You cannot apply bindings multiple...
I’ve been using KnockoutJS to build functionality into SharePoint pages for a while now. (In case you’ve ever wondered, yes, it’s the same thing people mean when they simply say “Knockout” or “KO”.)...
View ArticleThe MOSS Show SharePoint Podcast: Episode 87 – Talking JavaScript with Marc...
Back in late January, I sat down – in the virtual sense, as usual – with Hilton Giesenow (@hiltongiesenow or the slightly more active @TheMossShow) to have a chat about JavaScript for his MOSS Show...
View ArticleSPServices Stories #21 – Redirect If User Clicked a Button Previously
This entry is part 20 of 20 in the series SPServices StoriesIntroduction Ingeborg Hawighorst (@IngeborgNZ) is a long-time SPServices user who has come up with any number of intriguing uses for the...
View ArticleSemantic Versioning for SPServices?
Late last year I committed to put SPServices onto Github to encourage greater collaboration and contribution from the community. It’s definitely there now, and there are several things I’ve been...
View ArticleCalculate How Much Web Storage You’re Using
This is a quick one, but it’ll be a post I return to over and over again. When you use Web storage (a.k.a. DOM storage) – localStorage or sessionStorage – to cache data, you’ll often want to know how...
View ArticleSynchronous XMLHttpRequest Warning with SPServices and Recent Browsers
Image source If you’re working in the latest versions of Chrome (~40+) – and maybe Firefox – and you use SPServices, you may start to see an warning: Synchronous XMLHttpRequest on the main thread is...
View ArticleArctic SharePoint Challenge 2015 Notes – Part 1
I’m in Oslo at the 5th annual Arctic SharePoint Challenge. This is quite an event. As far as I know, it’s the only hackathon focused purely on SharePoint in the world. A few stats: Stats: This year's...
View ArticleArctic SharePoint Challenge 2015 Notes – Part 2
A few weeks ago I posted from the Arctic SharePoint Challenge in Oslo, Norway. Now that I’ve been home for a while, I *still* think it was a really cool thing to have the chance to attend. I was...
View ArticleSharePoint Saturday Boston 2016 Follow Up
Thanks to everyone who attended my session at SharePoint Saturday Boston on ‘Best Practices for Small-Scale Client-Side Development in SharePoint’. I’ve posted my slides on SlideShare for everyone’s...
View Article