Skip to main content
11 votes

Can I call the oData service directly in xConnect?

It turns out this is entirely possible. To access xConnect's oData api you have to create a Client Certificate Request. To test this out you can use Fiddler to use your client certificate: Go to IIS ...
Ian Graham's user avatar
  • 1,033
10 votes

Can I call the oData service directly in xConnect?

I think it is possible. You need to pass correct certificate on the following line: >CertificateWebRequestHandlerModifierOptions.Parse("StoreName=My;StoreLocation=LocalMachine;FindType=...
Vlad Iobagiu's user avatar
  • 18.6k
5 votes
Accepted

How to expand children ( multi level ) with FieldValues with OData

Turns out we can use multiple levels of $expand, or even supply $level of depth, https://github.com/object/Simple.OData.Client/issues/85 However, $level doesn't seem to allow expanding FieldValues ...
jay's user avatar
  • 211
3 votes
Accepted

Sitecore OData MaxDepth $expand

MaxDepth == 2 is a default value of OData validator. You can override default values by registering your custom validator settings. 1) Add reference to Microsoft.AspNet.OData (check corresponding ...
x3mxray's user avatar
  • 3,150
2 votes

ODATA search against a string collection field, searching for one or more values

Going to take a punt based on the ODATA syntax operators listed at https://docs.microsoft.com/en-us/rest/api/searchservice/odata-expression-syntax-for-azure-search This appears to suggest that any() ...
Richard Hauer's user avatar
2 votes
Accepted

Component is an OData Entity and thus a NavigationProperty

I passed this over to the Product Team to comment on this, and the response was..... There is not need for a custom controller, all components and child components can be expanded using odata expand ...
Rob Earlam's user avatar
1 vote

How to make Connect call to Commerce Engine

Figured out the answer! After digging around the the commerce assemblies on the Engine side, I found that I needed to add the following in the ConfigureServiceApiBlock: modelBuilder.AddEntityType(...
Robert Michael Watson's user avatar
1 vote

How do you resolve: GetEdmModel cannot be called more than once error?

I had this error after updating from Sitecore v9.1 to v10.3.1. This error appeared after publishing my solution to my new Sitecore v10.3.1 instance. I was able to resolve it by first looking through ...
Colin's user avatar
  • 153
1 vote

OData Item service Support in Sitecore 8.2

You will need to go with Item service, oData is not available in Sitecore 8.2, here is a quote from Sitecore doc for the services available in Sitecore.Services.Client in 8.2: Sitecore.Services....
Mohammed Syam's user avatar
1 vote

OData Itemservice throws Null Reference

Exception is thrown in code: public static IProviderSearchContext CreateSearchContext(IIndexable indexable) { return GetIndex(indexable).CreateSearchContext(SearchSecurityOptions....
x3mxray's user avatar
  • 3,150
1 vote

Searching using FieldValues is not working on OData

Remove the quotes and use this syntax ?$filter=FieldValues/Product_Name eq 3d9e15a7-f5b1-49b5-ad54-471f1df7427b (guid must be on lowercase)
Lala's user avatar
  • 396
1 vote

Sitecore Commerce 8.2.1 Get all carts of a given user

Sitecore Experience Commerce doesn't implement full OData funtionality, the philosophy was not to provide an API for complex sorting and filtering. It's purpose was to provide a simple API for ...
Rob Earlam's user avatar

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