Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

1
vote
1answer
56 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 ...
1
vote
1answer
60 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 ...
1
vote
1answer
66 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%...
0
votes
1answer
125 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 ...
1
vote
0answers
21 views

Injecting dependencies into custom ServicesApiController without using ServiceLocator

I am injecting a dependency into an 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 ...
0
votes
1answer
90 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 ...
1
vote
2answers
186 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 : ...
1
vote
1answer
184 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'...
1
vote
1answer
266 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 ...
2
votes
0answers
48 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 ...
4
votes
0answers
32 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 ...
3
votes
1answer
83 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 ...
0
votes
1answer
366 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 ...
3
votes
3answers
130 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 ...
2
votes
2answers
362 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 ...
0
votes
2answers
135 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 ...
1
vote
0answers
211 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 ...
5
votes
0answers
183 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 ...
5
votes
1answer
2k 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 ...
4
votes
2answers
171 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 ...
6
votes
1answer
300 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 ...
3
votes
1answer
221 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 ...
3
votes
1answer
212 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 ...
5
votes
2answers
419 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 ...
4
votes
0answers
139 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 ...
3
votes
3answers
1k 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 ...
0
votes
0answers
81 views

Error while accessing Sitecore Services Client - The type IUserService does not have an accessible constructor

I am trying to utilize Sitecore Services Client but unable to do so. I am getting the error The type IUserService does not have an accessible constructor when I am trying to authenticate at http://...
1
vote
0answers
360 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 ...
2
votes
2answers
195 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 ...
6
votes
2answers
345 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 ...