+ Start a Discussion
Nidhi BanerjeeNidhi Banerjee 

blob file attachement

HI ,
Our ERP system creates Invoices as a  PDF file and store in a blob. We want this blob to be imported in salesforce under each related opportunity. Please let me know how we can do this. Any link / code will be useful and appreciated.

Nidhi B
Neha AggrawalNeha Aggrawal
Hi Nidhi,

I can recommend uploading the files through REST API. I have explored this solution in this post: https://initaura.com/uploading-attachment-through-rest-api-salesforce-simple-working-solution/
The above solution takes the file using an HTML form and attaches it to a Salesforce case record. You can modify it to run a scheduler that reads new files and attaches them to Salesforce. To attach them to relevant opportunity, if file itself can be named as the Opportunity Id of Salesforce, that might work. 
I have not tested it however.

Hope this helps.
Thanks and Regards, 
Neha Aggrawal
www.initaura.com - Everything Salesforce (https://www.initaura.com)

reddy rcreddyreddy rcreddy
hii iam reddy,
I am working as a Network engineer (https://www.fieldengineer.com/sd-wan/why-is-sd-wan-adoption) at Field Engineer which is an online marketplace who connects businesses In other words field engineer is a Global Marketplace connecting Engineers and Businesses.
morris whitemorris white
Peter Wick 1Peter Wick 1
TheSmartest.Guide is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Amazon, the Amazon logo, AmazonSupply, and the AmazonSupply logo are trademarks of Amazon.com, Inc. or its affiliates.
Brad PritBrad Prit
Get the latest Technology News (https://www.webtechmantra.com/): breaking news and analysis on technology, business, computing, the web, blogs, games, gadgets, social media, broadband and more. 
Love javaLove java

The incredible Lenovo ThinkPad P52 (https://love2java.com/category/laptops/) is yet another best Lenovo laptops (https://love2java.com/category/laptops/) for virtual machines. With an incredible Hexa-core Intel i7 processor you can achieve stunning results for a very long term. It surely isn’t any ordinary system, but a powerful one with super fast speed. The price range speaks for itself as it may not be the obvious choice for people having a low budget.
User-added image
Amelia JenkinsAmelia Jenkins
We Are here to provide you the best guide and reviews about Shoes (https://bestshoesbuy.com/).
I like to buy italian twitter followers on https://soclikes.com/buy-twitter-italian-followers