1

I am having a problem where an item that exists in the content tree is not being retrieved by Sitecore fast query. The version of Sitecore is 6.5 (rev 121009). The odd thing is that this works in another environment. I have tried cleaning the databases by following the steps outlined here but still the query is failing. The item I am trying to retrieve is the email test02072013:

enter image description here

The fast query being used is:

fast:/sitecore/content/Home/Email Campaign/Test 02072013/Sent//*[@@templatename='HTML Message']

I have checked that the template is correct and the path to the item exists. I have tried running the query in the xpath builder but still no luck. Additionally a normal sitecore query doesn't work either: enter image description here

Am I missing something obvious or does anyone have another approach I can try? Thanks

1 Answer 1

5

Can you try to run like :

 fast:/sitecore/Content/Home/#Email Campaign#/#Test 0207#/Sent//*[@@templateName='Html Message'] 

It was a bug with spaces on item names but I know it was fixed on some version .

Are you running on: Sitecore Query Notation?

3
  • yes now the query succeeds, do you know what version the fix was applied?
    – Jim
    Jul 3, 2013 at 4:34
  • I don't know exactly what version it was fixed, but on this link : stackoverflow.com/questions/4205288/… they wrote : Sitecore CMS 6.3.0 rev.100716 release
    – user459491
    Jul 4, 2013 at 6:32
  • Thanks, it seems its also an issue with 6.5 (rev 121009)
    – Jim
    Jul 4, 2013 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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