Tuesday, December 9, 2014

Sitecore: - How to use Fast Query in Sitecore



Sitecore: - How to use Fast Query in Sitecore
1)      Got to  Development Tools






2)      Xpath builder
3)      Sample data

4)      To get all record
fast:/sitecore//*
5)      To get single record main node
fast:/sitecore/*

Below are the steps to check the blog entries which have the blank date.

Step #1
                Login to Sitecore, Go to Development tool then Developer center
               
Step#2
                Go to Xpath Builder and execute the fast query to check the blank records.

               

Step#3  Query
fast://sitecore/content/Apparel/Lycra B2B Home/Blog//*[
(@@templateid = '{3A2F52BC-2434-4D0A-9D20-4315A2E97C3B}' or
@@templateid ='{17D77353-51B8-4B64-ABB3-424DDA69101D}'  or
@@templateid ='{E40B3177-6362-4240-91F9-6447066FF417}'  or
@@templateid ='{5C01A279-E6BC-488D-BDDE-F44F09BD3669}') and @Date = '']



No comments:

Post a Comment