Posts By: Justin

Editing Your Hosts File

Posted by & filed under .

Here’s a reference page on how to add items to your hosts file. Adding items to your hosts file allows you to set up a sort of “local DNS” to access sites even when your DNS server doesn’t know how to get to them, this is often used in development. Note that you need administrator […]

JavaScript Event That Fires When SharePoint Page Has Finished Loading

Posted by & filed under , , , , .

If you’ve ever had an issue with JavaScript running before the element you’re trying to manipulate on a SharePoint page has loaded, this post is for you. Rather than momentarily considering using something terrible like a setTimeout to delay execution, we can instead use an event that will let us know when the “body” of […]

Building a Custom Filter Web Part for a List View Web Part, the Easy Way

Posted by & filed under , , , , .

This might not meet everyone’s needs, if you have a truly difficult filter (or even multiple Lists on the same page that you don’t want to filter together), this might not work, but the most common configuration I’ve run into is a standalone page with a List View for a specific list. This is usually […]

Generating an iCal (.ics) file from a SharePoint Calendar List Item

Posted by & filed under , , .

Here’s the quick tip around generating an iCal file for an item in a SharePoint Calender List. You can generate it using the owssvr.dll with a link structured in the following fashion: http://<SITE_URL>/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List={<LIST_GUID>}&CacheControl=1&ID=<ITEM_ID>&Using=event.ics <SITE_URL> = The URL of the site that hosts the Calendar List you’re referencing <LIST_GUID> = The GUID of the Calendar List […]

Sitecore query items returning out of order

Posted by & filed under , .

I’ve received questions about this a few times, so I decided to write a post on the issue. The problem people complain about is that they aren’t getting back Sitecore items in the same order they appear in the content tree. Sometimes they were previously getting them back in the right order, but now they’re […]