Omicron Llama

Coding all day, every day.

code

Get MySite Host with jQuery

Here’s a little snippet of code to grab the MySite host of the current environment using jQuery to pick it out from the user’s Welcome Menu.

Nice and simple!

Programmatically Update a Content Type

Here’s a straight forward one. For some reason (don’t ask) I had to update a content type in a Feature Receiver (I would have preferred to have created a new content type and inherit) by adding a new field to it. Here’s the code, purely for my personal reference but open in case other people […]