You need to sign in to do that
Don't have an account?
bathy
salesforce to salesforce contact sharing
hi Guys,
We use two salesforce orgs and we enabled salesforce to salesforce for sharing accounts, contacts and some custom objects. Developer who worked before me made the sharing automatic by using Apex and wrote some triggers in the source org to share accounts and contacts. So far so good. But recenlty we observed some of the contacts are not being updated in the target org when the account lookup field is changed on a contact in the source org.I just found it is beacuse the account Id field from Source org is not mapped. I tried to map it but there is no account name in the target org to map the fields.
With some investigation I found in this forum that there should be another trigger in the target org https://developer.salesforce.com/forums/ForumsMain?id=906F00000008xu0IAA
I am not sure how to start off with this. Can any one help me in coding this trigger?
Thanks for your help.
We use two salesforce orgs and we enabled salesforce to salesforce for sharing accounts, contacts and some custom objects. Developer who worked before me made the sharing automatic by using Apex and wrote some triggers in the source org to share accounts and contacts. So far so good. But recenlty we observed some of the contacts are not being updated in the target org when the account lookup field is changed on a contact in the source org.I just found it is beacuse the account Id field from Source org is not mapped. I tried to map it but there is no account name in the target org to map the fields.
With some investigation I found in this forum that there should be another trigger in the target org https://developer.salesforce.com/forums/ForumsMain?id=906F00000008xu0IAA
I am not sure how to start off with this. Can any one help me in coding this trigger?
Thanks for your help.
Please follow step :-
1) Create a same account lookup field in other org also
2) Please update the S2S template
3) Then map the new account lookup field.
4) Also add the same field in trigger also .
Thanks
Amit Chaudhary