This is a little script that works on classic SharePoint lists (modern lists, you should really use PowerApps to customize it). It'll allow you to format a field row, label or the cell the value is in. Similar to: Yes, it's ugly, but I wanted to highlight it plainly: formatRow - allows you to format... Continue Reading →
Embedding your JavaScript into a SharePoint page
A very typical approach for client side development in SharePoint is to throw the code onto the page where you need it. You can alternatively put into the master page, but generally speaking, most code doesn't need to run on each and every page. The following describes my preferred, tried and true, method of handling this.... Continue Reading →
Showing users’ profile pictures in a SharePoint list
Special thanks to Joann for the question! A common use case is to have a list of people in a list in SharePoint, maybe they're members of a project, contacts for a department, your favorite people to talk to, whatever it may be, you have a list. This example is a listing of my teammates: Now I'd... Continue Reading →
SharePoint: Hiding Ribbon and More with IsDlg
SharePoint has this neat little feature on every page that allows you to hide the header and nav on the page by simply appending isdlg=1 to the end (careful, it's case sensitive). It comes in handy when you're using a page viewer web part, you can show another page on your page and hide the... Continue Reading →
Navigating multiple calendars in SharePoint
This topic came up over on SharePoint.StackExchange.com, and I thought I'd share here too. You may want to setup a single page to view multiple calendars. Calendar overlay is a great way to handle this, but what if you want to see these side by side, and let the user navigate the dates in unison,... Continue Reading →
We all know what IsDlg does… wait, what the…??
Here's a little nugget I came across, on SharePoint 2010 and 2013 (including O365), and was exceptionally frustrated with. There's a difference between IsDlg and isdlg. See it? Case sensitivity. Come to find out that means the world to SharePoint. I was tasked to setup a basic Page Viewer web part to consume a page... Continue Reading →
SharePoint Script: Hide, Disable and Format your fields
last updated 10/7/2019 This one has been on my list for a while. I've used a collection of JavaScript methods to help streamline customizing forms in lists. I have created and compiled this little collection starting probably 5-6 years ago, and over time I'm constantly updating, tweaking, enhancing it, especially more so as of late... Continue Reading →
Adding a lookup field to your SharePoint solution: declaratively or programmatically?
Big thanks to Chris Barbin on pointing me in the right direction for this one! Including a lookup in your project can be tricky, and I find that most developers revert to doing it programmatically instead of declaratively. It's easier to copy and paste some C# code than chase down issues around CAML. It can be... Continue Reading →
SharePoint 2013 Sandbox Solutions: Declarative or User Code, what’s dead really?
UPDATED! Microsoft has finally come out of their hole and shared! From the SharePoint dev blog posted 1/14/2014: While developing sandboxed solutions that contain only declarative markup and JavaScript -- which we call no-code sandboxed solutions (NCSS) -- is still viable, we have deprecated the use of custom managed code within the sandboxed solution. We have... Continue Reading →
Highlighting your late events in your SharePoint Timeline
You give a guy an inch, and he wants a mile. Fortunately I love SharePoint and don't mind figuring out this fun stuff. Last week I posted on how to color code your timeline. That same colleague was grateful for the coloring, then asked if I can highlight late items in red. Obviously I said... Continue Reading →