You can change the WelcomePage of your site by updating the value of SPFolder.WelcomePage. However, you might experience some strange behavior if your are trying to update this value directly.
Continue reading Weird bug while updating WelcomePage using C#
Monthly Archives: May 2012
Conditionally enable/disable Ribbon buttons based on user permissions
Using custom action you can create your own ribbon elements. In a post I have published a while ago I showed how to add a button to the ribbon to generate a QR-Code. But what if you want your button only to be enabled under certain circumstances. For example; if the user has sufficient privileges.
Continue reading Conditionally enable/disable Ribbon buttons based on user permissions