You need to sign in to do that
Don't have an account?
MOHAMMED AL IMAM
when the campaign member is created then the related opportunities should be mapped to the campaign using trigger
Hi all, I'm new to salesforce ,need trigger code for this
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Please follow the below code:-
Please mark it as Best Answer if it helps you.
Thanks & Regards
Suraj Tripathi
Thanks for the reply
for my current requirement i need to see the related opportunities of contact. when i add any contact in campaign member i need to see the related opportunities if any, no need to create any new opportunities. I need code for thiis.
Thanks & Regards
Mohamemd Al Imam
Please follow the below code:-
Please mark it as Best Answer if it helps you.
Thanks & Regards
Suraj Tripathi
Im not able to get the Output. The opportunities is not adding.If you are getting the output ,please the pic.
Thanks & Regards
Mohammed Al Imam
Yes thanks for the reply.
I can see the mapped Opportunities with System.debug but the mapped values are NOT updating the related list in Campaign. We are getting the map but we aren't inserting it.
Would you be kind enough to try to insert the mapped values so that it will show the related Opportunities when Campaign is viewed.
Thanks & Regards
Mohammed Al Imam
For debugging:- Please mark it as Best Answer if it helps you.
Thanks & Regards
Suraj Tripathi
thanks for the reply.
Actually I'm getting the values in the debbug successfully,But I want to see the opportunities related to contact in campaign object.Can help me for that.
Thanks & Regards
Mohammed Al Imam
I want to add count of the total number of oppoetunities associated with contact in the campaign object ,when the campaign member is created..In the same code ,could please help me for this.
Thanks & Regards
Mohammed Al Imam