Skip to main content
Question

Entity missing Key in TechPortalTaskExecution projection


Forum|alt.badge.img+2
  • Sidekick (Partner)
  • 6 replies

Hello,

I'm working on a integration where I try to fetch data from a projection end-point and show the dataset in a third party client( integration uses Microsoft.OData.Client). When working with the TechPortalTaskExecution projection the Microsoft OData client lib failed with following error.

DataServiceQuery<PurchasedRequisitionQuery>' does not contain a definition for 'ByKey' and the best extension method overload 'ExtensionMethods.ByKey

Upon further investigating the meta data for TechPortalTaskExecution projection it looks like one of the entities/queries(PurchasedRequisitionQuery) is missing the <key> element

With a closer look at the metadata it looks like all the other entities have a <key> defined while only PurchasedRequisitionQuery missing it.

Is this a mistake or was it intentional by design ? Is the OData contract valid in this case ? 

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings