Hello,
I am working with Dataflows to import data to Dataverse. I am creating alternative keys in dataverse to see the lookups in the field mapping of the dataflow (like here). When I try e.g. to create a product, I receive an error like:
Tabelle,5a5f6932-6a79-4f9f-80d6-aebcae3ed483,"https://orbsdedfcab72.crm4.dynamics.com/api/data/v9.1/products(productnumber='Hello1234'){
""productnumber"": ""Hello1234"",
""DefaultUoMId@odata.bind"": ""/uoms(name='Primary Unit')"",
""DefaultUoMScheduleId@odata.bind"": ""/uomschedules(name='Default Unit')""
}","{""error"":{""code"":""0x0"",""message"":""An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'DefaultUoMId' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values."
In my oppinion, this is an error. The dataflow should use the correct spelling of the NavigationProperty. In this case this is not the schemaname. The dataflow is using DefaultUoMId@odata.bind but should use defaultuomid@odata.bind :
From https://orbsdedfcab72.crm4.dynamics.com/api/data/v9.1/$metadata#EntityDefinitions
...
<EntityType Name="product" BaseType="mscrm.crmbaseentity">
...
NavigationProperty Name="defaultuomid" Type="mscrm.uom" Nullable="false" Partner="unit_of_measurement_products">
<ReferentialConstraint Property="_defaultuomid_value" ReferencedProperty="uomid"/>
...
what do you think?
Greetings
Marvin
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.