Monday 19 September 2011

Enable Anonymous access for SharePoint 2010 site

To enable Anonymous access in SharePoint 2010, first go to Central Administration >> Application Management >> Manage Web Application

On this screen, select the web application for which you want to enable anonymous access and click on Authentication Providers option.


This will open a small window, here click on Default link.


After clicking default, you will see Enable anonymous access checkbox. Click the checkbox to make it enable.


Now go to Site Settings, and click on Site Permission. This will open the below screen with anonymous Access option. Click Anonymous Access option.



Now, you will see the options are enabled which were previously disabled.


Select ‘Entire web site’ or ‘Lists and Libraries’ to enable anonymous access as per your requirement.


Friday 16 September 2011

Content Query Web Part (CQWP) not showing all columns for filtering

After adding a CQWP on my page and specifying a source, I tried to select metadata columns; however I could not find those in the dropdown. Metadata columns were somehow not listed in the dropdown. I followed below steps to get all the columns listed in the dropdown for selection –

1. Export the CQWP.



2. After exporting CQWP, open it with a notepad and search for the below line –

      <property name="CommonViewFields" type="string"/>

3. Replace this line with below  text–

<property name="CommonViewFields" type="string">
ExternalUrl,URL;PublishingPageImage,Image;Body,Description;PublishingPageContent,RichHTML;PublishedDate,   DateTime;Author, User;
</property>

Save and import the modified web part. Add this modified CQWP to your page and voila, now you can see all the fields in the dropdown for selection.


Thursday 15 September 2011

New Site page not showing all Site Templates in SharePoint 2010

After creating a publishing site, when I tried to create a new blog site, I realized that all the site templates were not appearing under ‘New Site’ option. By default only 2 templates were appearing.  


 
After spending some time exploring I could find a way out. Follow the below steps to get all the site templates in SharePoint 2010.

  1. Go to Site Settings >> Look and Feel >> Page Layouts and site templates

  
  1. By default only 2 templates are selected. Go ahead and select the required ones. 

Now after selecting, when you go to ‘New Site’ page, you will see all the selected Site Template. This page can be used to select Site templates as well as Page Layouts.