Hi
I need to import entityimage(byte array[]) from D365 CE Contact entity.
I need to bring all contacts with entityimageurl is not null.
I have imported contact entity to local sqldb using DES. I can see imageurl field but not entityimage field(byte array)
I have created console application which
1. Reads all contacts with entityimageurl IS NOT NULL (stores all contactsid into an array)
2. The same contactid(s) I need to supply as filters to
QueryExpression qe = new QueryExpression("contact");
qe.ColumnSet.AddColumns("contactid", "entityimage", "createdon", "modifiedon");
qe.Criteria.AddFilter(filter1);
qe.Criteria.AddFilter(filter2);
//qe.Criteria.AddFilter(filter2end); //used when using between dates and times
//qe.Criteria.AddFilter(filter3);
EntityCollection result = Service.RetrieveMultiple(qe);
How can I pass contacts array to QueryExpression?
In sql world, I need something like IN operator
Regards
Raj