if you are in situation where you are sending email out from salesforce and you want to use same sender email address and footer.Lets say you are from customer service department and you department tag line is Best in service:) and you want to send email always from one email id bestineservice@mycompany.com for customer service department. Follow below steps- Common email footer(Organization wide email footer):- 1)login to salesforce 2)click on setup, in Admistration setup section click on Email footers then click on new on email footer screen. 3) enter all the details and click on same. Common Email address :- 1)click on setup 2) click on setup, in Admistration setup click on organization-wide address and then click on Add 3) fill the details and select the profile like customer service profile or depends on you situation and click on save
Salesforce Trigger:- Salesforce trigger is apex code that executes before or after the folowing types of operations. insert - You can have this trigger run before or after objects records are inserted into database. update - You can have this trigger run before or after objects records are updated into database. delete - You can have this trigger run before or after objects records are deleted from database. merge - Merge events do not fire their own trigger events. Instead, they fire delete and update event upsert - Fire both before and after insert or before and after update triggers as appropriate undelete- record is restored from the Recycle Bin I will be explaining each trigger with example in next tutorial.
If you need to read pdf from Boomi Atom installation path,then use code something like this in map function. byte[] filebytes = new File('\\\\'+path+'\\'+filename+'.pdf').readBytes() String strEncoded= filebytes.encodeBase64().toString() name = filename+".pdf"; fileContent= strEncoded; fileContent stores the encoded base 64 data.
Comments