Skip to main content

Questions tagged [sitecore-services-client]

All questions about the Sitecore.Services.Client. SSC provides a service layer on both the server and the client side of Sitecore applications that you use to develop data-driven applications.

Filter by
Sorted by
Tagged with
2 votes
1 answer
57 views

Is Item service search API allow to filter by more than one template?

I am using Sitecore 10.2 and want to use Item service API to get items by template so in the facet I want to add more than one value in the template filter however I am unable to figure out the ...
NAli's user avatar
  • 875
0 votes
1 answer
72 views

IndexWorker database connection issue

I have a working Sitecore local site that I needed to move to a new drive. The site comes up fine, I can log in, and it works great. I'm having trouble with the IndexWorker service. The connection ...
Tim's user avatar
  • 33
1 vote
1 answer
536 views

Sitecore services client 403 when login called from different web application

TL;DR: Sitecore services client 403 when login called from a different web application (IIS process), but not when called from Postman PROBLEM: RESTful Web API (web service) written in C# running on ...
T H's user avatar
  • 123
1 vote
1 answer
81 views

How to get the link database using sitecore.services.client item service?

I'm trying to get the links for an item using item services. For this, I need to query the link database. Can anyone tried querying link database using Sitecore.services.client item service? ex : ...
Rajasekar's user avatar
  • 692
-1 votes
2 answers
605 views

How to get the Item referrers using Item Web API / Sitecore Services Client in C#? [duplicate]

I have created Items using Item Web API. Now I want to get the unused items on my site. So I'm trying to get the item references using Item Web API. var referrers = Globals.LinkDatabase.GetReferrers(...
Rajasekar's user avatar
  • 692
1 vote
1 answer
86 views

.Net SDK Wrapper for Sitecore SSC REST API Item Service

As we know, Sitecore provides the ItemService [link] for developers to have a REST API interface for interacting with Sitecore items. What I am trying to achieve is to consume this REST Api from the ...
Andrey Bobrov's user avatar
0 votes
1 answer
261 views

Using fast query in Sitecore Services Client RESTful API

Is there any to use the fast query in Sitecore Services Client API? (Sitecore 9.0.1) I need to find an item with a particular name within a specific location and based on specific template. I'm able ...
Indhumathi's user avatar
1 vote
1 answer
132 views

Sitecore Entity Service on version 9.3

I have a Sitecore Entity Service implementation based on official documentation. https://doc.sitecore.com/developers/90/sitecore-experience-manager/en/create-an-entityservice.html It was working fine ...
Árvai Mihály's user avatar
0 votes
0 answers
149 views

Generate downloadable link in Odata item service

I want add some media and files in sitecore and expose it through Odata Item Service to so that an external system can download the file from sitecore. But when we request any item over Odata, getting ...
Jojo's user avatar
  • 463
2 votes
1 answer
1k views

How to authenticate with SSC REST API using Item service auth

I've been trying to use Sitecore SSC REST API to create an item. I can login, but that is as far as I get - every other request (even to get an item) returns forbidden. I've already changed the ...
nic's user avatar
  • 21
3 votes
2 answers
1k views

Authenticating via RESTful API service

When using Postman to connect and authenticate to the actual RESTful API service through Postman, I keep getting the same problem: { "Message": "An error has occurred.", "ExceptionMessage": "Object ...
Kris Verheire's user avatar
1 vote
1 answer
67 views

What is the purpose of disabled.aspx under sitecore\service\xdb?

What is the purpose of disabled.aspx page under sitecore\service\xdb? When I open this page manually, it's displaying below information. In which case this page will be executed?
Abhishek Malaviya's user avatar
1 vote
3 answers
13k views

How to Return 401 Response from OnAuthorization Method - ServicesApiController

I am exposing web API through ServicesApiController and want to authorize user through [AuthorizedUser(@"sitecore\ServicesAPI")] attribute of the function, everything is working fine, but instead of ...
Ashish Bansal's user avatar
1 vote
0 answers
363 views

Sitecore Items Services API requests from CD Server

The below Url is working fine in our development environment and we want to move the respective config changes to Production CD Server only in order to make those API's public. Will the below API ...
Manideep Yechuri's user avatar
2 votes
1 answer
2k views

Refused to get "Unsafe Header - Location" while getting response header in item service

I'm trying to create an item using ItemService in Sitecore.Services.Client. Item creation is working fine and response looks like this: 201 (Created). Location: /item/0727f965-2338-43cc-bd88-...
Rajasekar's user avatar
  • 692
2 votes
2 answers
3k views

500 Internal server error during item creation using Sitecore.services.client

I tried to create an item using Item Service in Sitecore.Services.Client. But when I try to create an item am facing 500 Internal server not found error during item creation. Below I attached ...
Rajasekar's user avatar
  • 692
3 votes
2 answers
1k views

Can't stop the "Sitecore XConnect Search Indexer" service on Sitecore 9.0.1

I just can't stop the "Sitecore XConnect Search Indexer" service. Please note that I just removed everything related to XConnect from this machine. I'm trying to stop this service to be able to re-...
Hugo Santos's user avatar
  • 2,311
-1 votes
1 answer
74 views

Add a custom property to the Sitecore services client api call results

I have a requirement to get the full presentation details (layout field + final layout field) using Sitecore services client api call. Now i am receiving the results as two different property fields (...
Sreekrishnan's user avatar
2 votes
2 answers
2k views

Share Sitecore content to Native Mobile Apps (IOS swift and Android java)

If we wanted to provide data (get/set operations on content tree, analytics, personalization, tracking data) from Sitecore 9 to native mobile apps (not based on Sitecore Mobile SDK and Xamarin but ...
Amit Kumar's user avatar
1 vote
1 answer
923 views

Import Media Items in Sitecore Media Library ItemService Restfull API

We are implementing a solution that requires importing media items like images inside Sitecore Media Library. Found it is achievable with Old WebApi, however nothing mentioned equivalent in Sitecore ...
user3964's user avatar
1 vote
1 answer
998 views

"Method not allowed" when using post request to create item

I modified to allow anonymous setting to true in Sitecore.Services.Client.config var xhrp = new XMLHttpRequest(); xhrp.open("POST", "http://sitecorenew.sc/sitecore/api/ssc/item/sitecore%...
PC007's user avatar
  • 13
2 votes
1 answer
5k views

Sitecore services client 403 Forbidden

We have a remote instance http://dev-instance/sitecore/login. I have followed all the steps in this article and got the token in postman for https://dev-instance/sitecore/api/ssc/auth/login But when ...
sukesh's user avatar
  • 3,176
2 votes
1 answer
507 views

Injecting dependencies into custom ServicesApiController without using ServiceLocator

I am injecting a dependency into a custom API controller I've created that is inheriting from ServicesApiController. I have found that I need to use our service locator class to do this as otherwise, ...
Adam Seabridge's user avatar
1 vote
1 answer
650 views

Advantages of servicesapicontroller over api controller

I've been looking for best way to expose a api that returns data in Sitecore and I found some implementation which use ServicesApiContorller, what are the advantages of using this controller over ...
nari447's user avatar
  • 407
3 votes
2 answers
3k views

Authentication / Login for Custom ServicesApiController

I've created a custom API Controller that inherits from ServicesApiController. I've created also custom route and it all works fine. Something like the following: public class ExampleController : ...
Adam Seabridge's user avatar
1 vote
1 answer
808 views

Sitecore GEOIP Issue with load balancer

In a project, I have implemented Sitecore GEOIP to get visitor's country information. In local, it was working fine but when we deployed it in Production environment, GEOIP was not able to get visitor'...
Sitecoredev's user avatar
2 votes
1 answer
462 views

Service based architecture in sitecore

I am analysing on the possibility of creating a web application using Sitecore where the web application is pure thin client using js based framework (knockout or angular) which can consume the ...
rdhaundiyal's user avatar
2 votes
0 answers
89 views

Is there any way to delay publishing and indexing when updating or creating items with the ItemService?

I am syncing a significant amount of data into Sitecore from external systems on a fairly regular basis. To do this, I am utilizing the Sitecore ItemService. The problem I'm currently facing is that ...
ddechant's user avatar
5 votes
0 answers
48 views

Is it possible to personalize content via Xamarin SDK or SSC using rules?

I was looking into Xamarin SDK and Creating a SSC to provide data to a Xamarin App, but I was wondering ... Is there a way to personalize data shown in Xamarin(or any Mobile App for that matter) based ...
Anderson Cardozo's user avatar
3 votes
1 answer
163 views

Sitecore 7.2 Analytics DB records grown in size to 200 GB+

Sitecore 7.2 Analytics DB records has grown in size to 200 GB+. Does anyone know of any recommendation for purging old data and this is a production setup so the impact of this data being removed ...
Umar D's user avatar
  • 169
1 vote
1 answer
2k views

Creating Media Items using the RESTful ItemService API

Quick background, re-building a "product importer" exe that was written for v7 using the old web API and ideally want to replicate all the old logic to work in the new v8 site using the RESTful ...
Denford's user avatar
  • 21
4 votes
3 answers
371 views

How to create web service on Sitecore Paas

I have Sitecore on Azure "Paas". I need to expose some Sitecore functionality to external system, for example allow external system to create Sitecore item. Normally I would create a web service for ...
Saad Alam's user avatar
3 votes
2 answers
1k views

How to programmatically update item on master database from Content Delivery MVC Sitecore 8

I have the following scenario on Sitecore 8.2 (MVC Project) I have a scaled Sitecore (CM/CD), and after the user hits a page on CD Server, it needs to update a Sitecore Item, that contains a field ...
Jose Neto's user avatar
  • 1,015
0 votes
2 answers
445 views

Using Sitecore.Services.Client to provide XML Feeds

I have been requested to provide an XML feed for Sitecore items, as for example an XML feed for News section, All the fields should be provided using this XML Feeds, I wonder if I can do this using ...
Mohammed Syam's user avatar
2 votes
0 answers
588 views

Create Item using REST API and Branch as template

I'm trying to use The RESTful API for the ItemService to create items based off a branch template. When I pass the branch ID as the TemplateID in the request, the service returns a 400 "Template is ...
KillerTofu's user avatar
8 votes
1 answer
566 views

Custom field not returned via Item API

I am using the Sitecore Item Rest API and all the existing fields (both standard and custom) I need to use from the template come back fine (e.g: Start Date below). However I've added a new one (a ...
Adam Seabridge's user avatar
12 votes
3 answers
7k views

Getting item from the Sitecore Item Service API not working remotely (403 Forbidden)

I was having an issue on a clients Staging environment where I was trying to use the Sitecore Item API to get items and I was getting an 403 error. It worked fine locally, I have a login method that ...
Adam Seabridge's user avatar
5 votes
2 answers
348 views

EntityService-based controllers stop working when adding a controller with a named route

ASP.NET Web API 2 allows to set route name on a controller: Route names are useful for generating links, so that you can include a link in an HTTP response. I define two controllers, each of them ...
Serhii Shushliapin's user avatar
7 votes
1 answer
988 views

Sitecore Services Client EntityService Token Authentication InputStringError

Using Sitecore 8.2 Update 3 I am using the Sitecore Services Client EntityService with Token authentication. When I try to access to the service after the token has expired, I should get a 403, but ...
Ethan Schofer's user avatar
3 votes
1 answer
1k views

Best way to Use Sitecore Data for other Application?

I need to create the separate ASP.NET Web API 2 Application for the Native mobiles Apps (Andriod and IOS), that will consume the Sitecore web application data. Currently it’s on the same solution and ...
Ashish Bansal's user avatar
2 votes
1 answer
334 views

Expose Sitecore/Sitecore Commerce Items to third party by using custom API

Below are the possible ways to expose sitecore data to third party: Item Web API Sitecore Client Services Data exchange framework Sitecore Data Providers I've following challenges to implement these ...
Sandeep's user avatar
  • 785
4 votes
2 answers
855 views

How do I remove /sitecore from API calls?

A client I'm working with has an internal API built that they use for search purposes, now API URLs are being built like this: website/internal-api/sitecore/controller/method My Question is if there ...
Muradious's user avatar
  • 531
4 votes
0 answers
256 views

After replacing default DI container Sitecore 8.2 Sitecore ItemService and EntityService stop working

Thanks to Dmytro Shevchenko http://structuredcode.com/replacing-default-di-container-sitecore-8-2/ We are replacing default DI Container with Windsor Castle. All project works perfectly fine, except ...
sandip patel's user avatar
3 votes
3 answers
4k views

Is there an API for item creation?

We're in the process of integrating with a product management tool to automate the process of item/product creation within our system. I know that Sitecore has the ability to pass back the objects ...
Jon's user avatar
  • 133
1 vote
0 answers
849 views

Sitecore Item Web API error - Invalid item ID in query string

I'm having an issue creating an item remotely using the item web API. Having tried several permutations of what is in the documentation, I am repeatedly seeing the following in logs: ERROR Invalid ...
clickatwill's user avatar
2 votes
2 answers
394 views

Minimum Sitecore references required to implement an API solution using Sitecore.Services.Client framework?

I have been doing some reading on Sitecore.Services.Client framework for a project for which I am required to use and consume Sitecore as a data repository. The data in Sitecore will be some Html ...
Hetal Dave's user avatar
6 votes
2 answers
601 views

Sitecore Services Client 8.2 ODataController - 406 Not Acceptable error

I am trying to request a GET using SSC ODataController with Sitecore 8.2 and it keeps throwing a 406 Not Acceptable error. URL - http://sc82/sitecore/ssc/api/example-controller/products This is the ...
Mohit's user avatar
  • 361
13 votes
1 answer
2k views

Web API 2 Attribute Routing with Sitecore 8.2+

Has anybody set up Web API 2 Attribute Routing with 8.2 or later? I tried the 'official' route, which is to create a custom pipeline handler to the initialize pipeline that does the registration. I've ...
M.R.'s user avatar
  • 467