为什么会出现这个错误下面ParseException: End of string expected at position 4.
Sitecore的快速查询给出了解析异常
下面的代码的代码:该错误是3号线。
var db = Sitecore.Configuration.Factory.GetDatabase("web");
string query = @"fast:/sitecore/content/foodservice/home/Products/3492-5326/3518-7";
Item item = db.SelectSingleItem(query);
return item;
我们可以使用同一个SelectSingleItem()
快速查询?我试图避免get folder contents and loop through each item until I find the target solution.
建议?
相关问题:http://stackoverflow.com/questions/3687405/escaping-reserved-words – 2011-12-14 05:56:40
任何人都知道如何逃避文本字段中使用的特殊字符,如内容项描述中的撇号? http://stackoverflow.com/questions/16847831/sitecore-fast-query-how-to-search-for-text-containing-special-characters-such – longda 2013-05-31 00:10:52