Why my site column not appearing in Crawled Properties?

I was created a site column and I need this column to appear in the search results or filter the restuls based on this column. To do this, the column must appear in crawled properties in the searh admin page first. But the column not appear there!!!!!


You need to to do incremental or full crawl. 😉


Refiners does not work with SharePoint 2010 Enterprise Search

I am testing the serach.asmx web service for querying the search from SharePoint 2010 with Refiners, but I noticed that my refiners in the query xml does not effect the resutls. after my serach , I found that the refiners work only with FAST Search Server 2010 for SharePoint according to this MSDN article.

<QueryPacket xmlns=\”urn:Microsoft.Search.Query\” Revision=\”1000\”>
<Query domain=\”QDomain\”>
<QueryText language=\”en-US\” type=\”FQL\”>

Make SiteCollection ReadOnly

Some times you need to set your sitecollection(s) as read-only, for example, before backup.

Via Central Admin:

  1. Go to Centeral Admin
  2. Application Management
  3. Site Collection Quotas and Locks
  4. Read-only (blocks additions, updates, and deletions)

Solution 2:
Using SQL Server Database by setting the database as read-only.

  1. Open SQL Server Management Studio
  2. Right click on your site collection database and choose Properties
  3. Click on Options


Get the Current Position in XSLT With CQWP

To get the current position in XSLT file to be used in CQWP in SharePoint 2010, define the following variable:

<xsl:template name=”FAQ” match=”Row[@Style=’FAQ’]” mode=”itemstyle”>
       <xsl:variable name=”CurPosition” select=”count(./preceding-sibling::*)” />

SharePoint 2010 Removes the background-image

Sometimes when you try to edit the source HTML of the page editor, you need to syles. The page accept your styles except one of them which is “background-image”. SharePoint consider this style as dangerous. Now when you write the follwoing in your HTML editor:

<p>Hello world</p>

now save the page and try to edit it, you will notice that the background-image removed.


  1. Open SharePoint designer
  2. Create a new html page
  3. Write down you html with css
  4. Go back to you sharepoint page and edit it
  5. Add the web part “Content Editor”
  6. Edit the web part properties.
  7. In the Content Link, write the path to you HTML page
  8. Done