Feb 5, 2015

Image to PDF Converter in Salesforce

Okay, so this is one of my POCs I was doing recently where I need to convert an image to PDF. I can't disclose the full use case but hope it will help some.

So here is the solution in two simple steps :

1) First insert these three static resources (with the same names)

(i) Bootbox




2) Visualforce Page

 
    
    
    
    
    
    
    
    
    
    
      
 
     
        
        
    
    
    
    
 

    

 

(As it was just a POC so code is not clean yet, hope you can take care of that)

Okay so now all set to go, just hit the page and select any image you want to get converted in PDF. Multiple images can also be uploaded.

Cheers

8 comments:

  1. Hi Ankit, this works really well!! I'm just wondering if its possible to select image files from a salesforce record instead of from your local drive?

    ReplyDelete
  2. Very informative blog and very useful article thank you for sharing with us , keep posting learn more about salesforce training,salesforce online training

    ReplyDelete
  3. I acknowledge the author for his brilliant work for making this exceptionally useful and informative content to guide us.
    salesforce integration

    ReplyDelete
  4. Our online tool allows you to convert PDF documents to JPG images for free. No downloads required.

    If you want more information to click here pdf to jpg

    ReplyDelete
  5. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.

    Best Linux training in Noida
    Linux Training Institute in Noida

    ReplyDelete
  6. The information which you have provided is very good. It is very useful who is looking for salesforce Online Training Bangalore

    ReplyDelete