You need to sign in to do that
Don't have an account?
Neelofer
how to perform upsert operation on opportunity contact role
In OpportunityContactRole there is no externalid field and we can't create custom filed..when I try to parse json data for every opportunity we got two similar contact role records means duplicate records..how can we avoid this...
Abdul Khatri
Can you provide the sample json?
Abdul Khatri
Well you haven't provide any details but I think you can create a method with the parameter List<OpportunityContactRole> to be passed that you deserialized from the JSON. Here is the code.