Почему я получаю эту ошибку с кодом ниже ParseException: End of string expected at position 4.
Вот код: Ошибка в 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.
предложений?