Hi friends,
I want to link campaignproduct with Product entity in Odata query. For e.g.
SDK.REST.retrieveMultipleRecords(
"campaignproduct",
"$select=campaignproductId,name,Product/invoice,Product/popularname&$expand=Product&$filter=Campaign/Id eq Guid'" + parent.Xrm.Page.data.entity.getId() + "' and statecode/Value eq 0",
function (results) {
if (results.length > 0) {
...
}
},
function (error) {
},
function () {
});
But I am not able to get the query correctly. I am getting this error : Type 'Microsoft.Crm.Sdk.Data.Services.campaignproduct' does not have a property named 'Product'.
Am I missing it somewhere. Please let me know.
Thank you,
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (