Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Visualforce Development Cookbook

You're reading from  Visualforce Development Cookbook

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781782170808
Pages 334 pages
Edition 1st Edition
Languages
Author (1):
Keir Bowden Keir Bowden
Profile icon Keir Bowden

Table of Contents (16) Chapters

Visualforce Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. General Utilities 2. Custom Components 3. Capturing Data Using Forms 4. Managing Records 5. Managing Multiple Records 6. Visualforce Charts 7. JavaScript 8. Force.com Sites 9. jQuery Mobile Index

Scanning the QR code to access the page


Mobile devices, especially phones, have small keyboards and screens which can make entering page URLs difficult. If the device has a camera, scanning a code to navigate to a page can improve the user experience.

QR, or Quick Response, codes are 2-dimensional barcodes originally used to track automobiles during manufacture. For more information on QR codes see http://en.wikipedia.org/wiki/QR_code.

In this recipe we will create a mobile view page to display details of an opportunity. We will also create a Visualforce page to generate a QR code that links to this mobile view page, which we will then embed into the opportunity view page. When the code is scanned on a mobile device, this navigates a user to the mobile view page to allow them to view the opportunity details.

Getting ready

This recipe relies on the mobile device being able to scan the QR code.

This recipe also uses the jquery.qrcode.js (https://github.com/jeromeetienne/jquery-qrcode) JavaScript...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}