You need to sign in to do that
Don't have an account?
JPClark2
SalesForce to SalesForce to send Documents
I want to be able to publish an object with an attechment via SalesForce to SalesForce.
When it is recieved by a subscriber, then the attachement needs to be moved to a documents folder, or optionally a communications template folder. I am hoping that we can do this via a trigger.
Has anyone attempted something like this? Trying to get some ideas what is possible in S2S.
Jeff
You can definitely share the attachment on the object with Salesforce to Salesforce. The part that is hard is moving it to a document.
You can't write triggers on the "Attachment" object. So you would need to write a trigger on the parent object and get that to copy the document to an attachment. The problem will be identifying the right event to cause the trigger. It is very likely that the parent object will get inserted and then the child after so if you put a trigger on the parent the attachment won't yet exist. You'll need to experiment but I think this is going to be tough.
I found this posting that might help you...but I'm not sure if it's relevant.
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=23174