Book description
Discover over 70 real-world examples to overcome the most complex concepts you will face developing with Visualforce
About This Book
- This book provides an enhanced user experience with dynamically-generated, reactive pages
- Access data over additional channels via public web sites and mobile pages
- Packed with easy-to-follow recipes, including step-by-step instructions and Apex/Visualforce code downloads this title is the all in one package you need to get more from Visualforce.
Who This Book Is For
This book will be beneficial to developers who are already well-versed with the basics of Visualforce. An awareness of the standard component library and the purpose of controllers is expected.
What You Will Learn
- Pass parameters between Visualforce pages
- Update attributes in component controllers
- Avoid validation errors with action regions
- Refresh record details from embedded Visualforce
- Create and develop a website template from scratch
- Get to know about the Salesforce Lightening Design system and use Visualforce in Salesforce1
- Effectively tackle frequently-faced problems while developing Visualforce pages
In Detail
Visualforce is a framework that allows developers to build sophisticated, custom user interfaces that can be hosted natively on the Force.com platform. The Visualforce framework includes a tag-based markup language, similar to HTML that is used to write the Visualforce pages and a set of controllers that are used to write business logic to the Visualforce pages.
Visualforce Development Cookbook provides solutions to a variety of challenges faced by Salesforce developers and demonstrates how easy it is to build rich, interactive pages using Visualforce. Whether you are looking to make a minor addition to the standard page functionality or override it completely, this book will provide you with the help you require throughout.
You will start by learning about the simple utilities and will build up to more advanced techniques for data visualization and to reuse functionality. You will learn how to perform various tasks such as creating multiple records from a single page, visualizing data as charts, using JavaScript to enhance client-side functionality, building a public website, and making data available to a mobile device.
With an interesting chapter on tackling common issues faced while developing Visualforce pages, the book provides lots of practical examples to enhance and extend your Salesforce user interface.
Style and approach
Following a cookbook structure, the book provides recipes on some essential technical scenarios and a few that focus on real-world development problems. This book is packed with illustrations and contains lots of code samples to improve your understanding.
Table of contents
-
Visualforce Development Cookbook - Second Edition
- Visualforce Development Cookbook - Second Edition
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
-
1. General Utilities
- Introduction
- Overriding standard buttons
- Data-driven styling
- Turning off an action poller
- Visualforce in the sidebar
- Passing parameters to action methods
- Reacting to URL parameters
- Passing parameters between Visualforce pages
- Opening a pop-up window
- Adding a launch page
- Testing a custom controller
- Testing a controller extension
- 2. Custom Components
-
3. Capturing Data Using Forms
- Introduction
- Editing a record in Visualforce
- Adding error messages to field inputs
- Adding error messages to non-field inputs
- Using field sets
- Adding a custom lookup to a form
- Adding a custom datepicker to a form
- Retrieving fields when a lookup is populated
- Breaking up forms with action regions
- The Please wait spinner
- Action chaining
-
4. Managing Records
- Introduction
- Styling fields as required
- Styling table columns as required
- Attaching an image to a record
- Managing attachments
- Maintaining custom settings
- Refreshing record details from embedded Visualforce
- Using wrapper classes
- Changing options based on the user input
- Changing page layout based on the user input
- Form-based searching
- 5. Managing Multiple Records
- 6. Visualforce Charts
- 7. Enhancing the Client with JavaScript
- 8. Force.com Sites
- 9. Visualforce in Salesforce1
- 10. Troubleshooting
Product information
- Title: Visualforce Development Cookbook - Second Edition
- Author(s):
- Release date: August 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786468086
You might also like
book
Practical Salesforce.com Development Without Code: Customizing Salesforce on the Force.com Platform
Are you facing a challenging Salesforce.com problem—say, relating to customization, configuration, reporting, dashboards, or formulation—that you …
book
Learning Force.com Application Development
Use the Force.com platform to design and develop real-world, cutting-edge cloud applications In Detail Starting with …
book
The Developer’s Guide to the Force.com Platform
The Force.com Developer Guide presents a complete picture of the capabilities of the Force.com platform. Aimed …
book
Salesforce® Service Cloud® For Dummies®
Learn how to provide top-grade customer service anywhere, anytime with Salesforce Service Cloud Salesforce Service Cloud …