SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Content Query Web Part in the home page of my site root that points to a announcement list in a sub site.

Is it possible to also show the new item notification image as the announcement list?

I am using SharePoint Standard 2010.

share|improve this question
up vote 1 down vote accepted

I followed Lauara Rogers' instructions here and worked like a charm.

share|improve this answer

The new Item notification is configurable at the farm level (default is 2 days) via (from MSDN, valid for SharePoint 2010 too,;en-us;825510&Product=spts&wa=wsignin1.0)

stsadm.exe -o setproperty -pn days-to-show-new-icon -pv 0 -url [Your Virtual Server's URL] 

Using this concept you could envision creating a new calculated property of type Boolean, e.g. IsNew to calculate a difference in Days and if greater than 2 to be set to True (it could also be done without the new column, by calculating this difference in XSLT directly).

A 2nd step is to update the Content By Query Web part XSLT (your own copy of the default ItemStyle.xsl in the Styles Library - i mentioned copy because it is not a good practice to change the default one, but rather to copy-it, change it and after exporting your CQWP from the page, changing the resulting XML to point to the new XSLT) to take into the new column and toggle visibility on the image.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.