Tuesday, June 21, 2011

Organizational Web Part

I found this interesting link regarding organizational webpart in SharePoint using Google API https://www.nothingbutsharepoint.com/sites/eusp/pages/create-an-organization-chart-in-moss-2007-using-a-contacts-list.aspx.

I have applied this concept and followed blog http://suehernandez.wordpress.com/2009/05/22/3/. The blog explained how to use the Google API and generate an organizational chart from SharePoint Profile.

The whole project is downloadable from this link https://docs.google.com/uc?id=0B2wl3Z7li_qxZGY4ZTQwYTctZDJlMy00Yjc5LWIyMmQtNjBjMGVkZjEyYzQw&export=download&hl=en

Adding ASCX file with SharePoint WSPBuilder Project

You can't add a new ASCX file in a WSPBuilder project. To enable it you should modify your CSPROJ and modify the ProjectTypeGuids.

<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

Tuesday, January 11, 2011

Disable Form Pages for Anonymous Users

If you're running an anonymously accessible MOSS website, especially an internet-facing one, you may have noticed that your SharePoint Forms pages are also accessible to anonymous users. For example, if you're using the publishing features, anonymous users might be able to get to http://SERVER/Pages/Forms/AllItems.aspx. Typically you don't want this, so how do you prevent anonymous users from accessing these pages?
In order to help with this, we provide a Feature out of the box called the ViewFormsPagesLockdown Feature, which we usually just call the Lockdown feature for simplicity. If you're experiencing this problem and want to lock anonymous users out of your Forms pages, then you can execute the following stsadm command on your farm:
 
stsadm.exe –o activatefeature –url <site collection url> -filename ViewFormPagesLockdown\feature.xml

For more details visit technet:
http://technet.microsoft.com/en-us/library/cc263468(office.12).aspx