You need to sign in to do that
Don't have an account?
dev rana 10
Want to Generate QR Code
Hello Ever one i want generate QR Code through apex And VF So can You plz give some code.
Thanks in Advance
Thanks in Advance
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
http://stackoverflow.com/questions/4542632/qr-code-generation-library-in-javascript
Let me know if it is what you are looking for.
http://www.tgerm.com/2012/11/salesforce-qr-code-visualforce-contact.html
with some minor manipulations you can use this on your VF page.
Generate QR Code for any object in 5 Min:
1) https://vishnuvaishnav.wordpress.com/2016/06/04/generate-qr-code-for-any-object-in-5-min/
Let us know if this will help you
Generate QR Code for any Salesforce Object no coding
Implement QRC code generation in Salesforce for Case record:
Here is a method to generate a QRC code that links to a specific Case record.
From doing this, you can then generate an HTML email template that has this QRC code embedded in the email.
The recipient of this email can open the email and either print it off to be scanned or have it scanned from their mobile device, for example, when they attend an event put on by your company.
This method utilizes, i.e., uses the API free services of QR-Server QR Code API | ProgrammableWeb, https://www.programmableweb.com/api/qr-server-qr-code
- Click on Setup. It is placed on Top-Right.
- Then in Left panel, go to Customize –> Cases –> Fields
- Click on New button to create the new custom field.
- Select Formula field type here.
- Fill field name with “QR Code” and Select Formula Return Type as “Text”
- Then paste the following code in formula area:
IMAGE("http://api.qrserver.com/v1/create-qr-code/?size=75x75&data=" + "https://na59.salesforce.com/" + Id ,"scan this")Create the Custom Email Template (without using Letterhead)
-------------------------------------------------
1. Inserts the company or client logo at the top of the email
<img src="https://c.na<nn>.content.force.com/servlet/servlet.ImageServer?id=015f4000001y2ee&oid=00Df4000003kPfb&lastMod=1528118628000" alt="Logo"/><br><br>
2. Some sample content in the body of the email template
Thank you for inquirying about eligibility for home ownership program request online form.<br><br>
Based on your answers you provided, we may invite you to attend our Informational Session.<br><br>
3. This line includes a Casecustom field
The Information Session will be held, {!Case.Campaign_Start_Date_reformatted__c}.<br><br>
4. This line incldues the Casenumber field
Your new Case reference # is, {!Case.CaseNumber}<br><br>
5. This line generates and displays the QRC code of the Case URL link
<img src="http://api.qrserver.com/v1/create-qr-code/?size=75x75&data=https://na59.salesforce.com/{!Case.Id}" alt="Logo"/><br><br>
6. make sure you include “{!Case.Thread_Id}” value in the body of the email template
Thank you for choosing our company.<br><br>
Kind Regards,<br><br>
{!Case.Thread_Id}
Here is the whole email template html text:
------------------------------------------------
<img src="https://c.na59.content.force.com/servlet/servlet.ImageServer?id=015f4000001y2ee&oid=00Df4000003kPfb&lastMod=1528118628000" alt="Logo"/><br><br>
Thank you for inquirying about eligibility for home ownership program request online form.<br><br>
Based on your answers you provided, we may invite you to attend our Informational Session.<br><br>
The Information Session will be held, {!Case.Campaign_Start_Date_reformatted__c}.<br><br>
Your new Case reference # is, {!Case.CaseNumber}<br><br>
<img src="http://api.qrserver.com/v1/create-qr-code/?size=75x75&data=https://na59.salesforce.com/{!Case.Id}" alt="Logo"/><br><br>
Thank you for choosing our company.<br><br>
Kind Regards,<br><br>
{!Case.Thread_Id}
------------------------------------------------
HTML Email Template sample with embedded generated QRC code.
You can find more detailed instructions and examples on how to generate QR codes in Salesforce using Apex and Visualforce in this guide: "Quickly configure Salesforce QR code generator" https://arrify.com/salesforce-qr-code-generator/ . This guide offers a comprehensive tutorial with step-by-step instructions on how to create QR codes with Apex and Visualforce, as well as advanced topics like customizing the QR code and integrating it with other Salesforce features.