Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

Use Sitecore service Client Get Item or Item Id based on the Search term using fields

Yes it is feasible to get the item id from the return result. You just need to add the itemidin the field projection. Please see below the updated Rest API http://{host}/sitecore/api/ssc/item/search?...
Hishaam Namooya's user avatar
3 votes
Accepted

Sitecore ItemService API resolve .../link.aspx?_id=abc

It is not possible out of the box in Sitecore. Filling of item properties is not configurable, it is hardcoded: private static void FillProperties(ItemDataModel itemModel, Item item, string urlPrefix) ...
Anton's user avatar
  • 3,831
3 votes

How to authenticate with SSC REST API using Item service auth

It’s a bit hard to know what’s going on without seeing your code and config and knowing your Sitecore version but some things to check are: Login Cookies Are you getting the login cookies from the ...
Adam Seabridge's user avatar
2 votes

Using fast query in Sitecore Services Client RESTful API

You are using Sitecore 9+, so you can use Odata item service to achieve this. By default there are various search options available in Odata service. In your case the Odata request should be having ...
Gobinath Saminathan's user avatar
2 votes
Accepted

ItemService API - Where's the Query Definition Item?

According to Sitecore documentation you can run query stored on an item using /item/{id}/query url. You must replace the {id} part with the item which stores the query, e.g. /sitecore/api/ssc/...
Marek Musielak's user avatar
  • 23.8k
2 votes

Item versions to create by date

No, by default Solr will not return all versions of the item. But it's not really Solr related, it's how Sitecore publishing and web database works. When you publish an item, it only published the ...
Marek Musielak's user avatar
  • 23.8k
1 vote

Create item with branch as template using ItemService API

For curiosity I had tried this on 10.0.1 instance and can confirm this does not work. While looking at source code responsible for creating Items through REST API/Item Service it seems to specifically ...
Kamil C's user avatar
  • 501
1 vote

Cant call saved ItemQuery using REST

400 Error code usually means "Bad Request" which means that something has been forgotten that is expected in URL or there is a typo somewhere. Based on Documentation page you have linked it means: ...
Peter Procházka's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible