The issue is in the MergeRequest which takes two inputs as mandatory according to the documentation. It's the "Target", an EntityReference which is a link to the master record, the one that will remain, then its the "SubordinateId" which is just a Guid to the record that should be merged.
So far, so good, now when you just have these two in your request, you get an error, the following error.
There is no UpdateContent, Now this is what the intellisence says about that variable
Not very large, but it says "Optional". It is not.
This variable is an "Entity", the same entity type that the merged records are and in this one you can add whatever fields from that entity that you want to be different from the Target record after the merge and, yes, you can enter whatever you want when you do this programmatically and not only from the secondary record.
Now, this hasn't changed since CRM 2013, it still says optional and you still get an exception if you think that the object is optional.
Small post, hope someone is helped.
Rickard Norström
Developer at CRM-Konsulterna
www.crmkonsulterna.se
Developer at CRM-Konsulterna
www.crmkonsulterna.se
Nice Blog, I am happy if the word is spread. Much obliged for the insight. I will come back again to read some more interesting things on this topic.
SvaraRaderadynamics crm solutions
Den här kommentaren har tagits bort av skribenten.
SvaraRaderaReally happy to say your post is very impressive. Keep sharing your interesting information automatically for my future reference. Appreciations again & Thank you!
SvaraRaderaCorporate Training in Chennai
Corporate Training Companies in Chennai
Oracle DBA Training in Chennai
Linux Training in Chennai
Job Openings in Chennai
Oracle Training in Chennai
Tableau Training in Chennai
Unix Training in Chennai
Corporate Training in Adyar
Corporate Training in Annanagar
Generally excellent review. I absolutely love this site. Much appreciated!
SvaraRaderabest interiors
The official SoftMaker website: Find out more about SoftMaker Office for Windows, Mac, Linux and Android – the fast, powerful and compatible office suite.Softmaker Office 2021 Product Key
SvaraRadera