+ 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)

Mathew PaxtonMathew Paxton
Thank you for Clearing 
Manager IT
Techtegy (https://www.techtegy.com/) - Development Company (https://www.techtegy.com/)
Burakcan ÖzadBurakcan Özad
Welcome to our premier coin-selling website for ea fc 24 coins (https://easportsfccoin.com) now. Boost your in-game experience and dominate the field with our affordable and high-quality fc 24 coins. Get ahead of the competition today by purchasing coins from a trusted source and level up your gameplay. Don't wait – achieve ultimate success in EA FC 24 now with our reliable coin sales!
peter choipeter choi
Discover the power of psychology for personal growth and mental wellness. Our experienced professionals provide comprehensive services tailored to your unique needs.
Pflanzen PflegenPflanzen Pflegen
Entdecken Sie auf unserer blog Tipps und Experten Ratschläge für Gartenpflege, Gartengestaltung und Urban Gardening (https://www.pflanzenundpflegen.com), um Ihren grünen Raum optimal zu nutzen.
walid ahmedwalid ahmed
Discover the best of gaming materiel https://nextlevelpc.ma