You need to sign in to do that
Don't have an account?
Kent Manning
How to create barcodes with visualforce rendered as PDF
We would like to create a bar code of the case number. This would then go onto a PDF document that is generated via visualforce. How do i generate the code to produce the barcode with visualforce and an Apex controller? Any help or suggestions would be appreciated.
Hi,
You can create a text formula field in case object . And use the below formula in it :
IMAGE("http://www.barcodesinc.com/generator/image.php?code="+CaseNumber +"&style=325&type=C128B&width=200&height=50&xres=1&font=3" ,"Barcode")
Please let me know if u have any problem on same and if this post helps you,please throw KUDOS by click on star at left.
All Answers
Hi,
As of now it is not possible to generate barcode in salesforce. There are few apps, listed in below link, which provide this functionality.
https://appexchange.salesforce.com/results?keywords=barcode
Also, if you wish to have this feature in salesforce in near future then please vote this idea on ideaexchange portal. Link:
https://success.salesforce.com/ideaView?id=08730000000Bq2aAAC
Hi,
You can create a text formula field in case object . And use the below formula in it :
IMAGE("http://www.barcodesinc.com/generator/image.php?code="+CaseNumber +"&style=325&type=C128B&width=200&height=50&xres=1&font=3" ,"Barcode")
Please let me know if u have any problem on same and if this post helps you,please throw KUDOS by click on star at left.
Thanks Puja_mfsi! This will get me much closer to my goal.