E-book details

Visualforce Development Cookbook. For developers who already know the basics of Visualforce, this book enables you to advance to the next level. With over 75 real-world examples accompanied by stacks of illustrations, it clarifies even the most complex concepts

Visualforce Development Cookbook. For developers who already know the basics of Visualforce, this book enables you to advance to the next level. With over 75 real-world examples accompanied by stacks of illustrations, it clarifies even the most complex concepts

Keir Bowden

Ebook
Visualforce, in conjunction with Apex, makes it easy to develop sophisticated, custom UIs for Force.com desktop and mobile apps without having to write thousands of lines of code and markup. The Dynamic Binding feature of Visualforce lets you develop generic Visualforce pages to display information related to the records without necessarily knowing which data fields to show. This is accomplished through a formula-like syntax, which makes it simple to manage even a complex hierarchy of records.

Visualforce Development Cookbook provides solutions for 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 required help throughout.

Visualforce Development Cookbook starts with explaining the simple utilities and builds up to advanced techniques for data visualization and reuse of functionality. This book contains recipes that cover various topics like 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.

Visualforce Development Cookbook provides lots of practical examples to enhance and extend the Salesforce user interface.
  • Visualforce Development Cookbook
    • Table of Contents
    • Visualforce Development Cookbook
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
        • Instant Updates on New Packt Books
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. General Utilities
      • Introduction
      • Overriding standard buttons
        • Getting ready
        • How to do it
        • How it works
      • Data-driven styling
        • How to do it
        • How it works
        • See also
      • Turning off an action poller
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Visualforce in the sidebar
        • Getting ready
        • How to do it
        • How it works
        • Theres more
      • Passing parameters to action methods
        • Getting ready
        • How to do it
        • How it works
      • Reacting to URL parameters
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Passing parameters between Visualforce pages
        • How to do it
        • How it works
        • See also
      • Opening a pop-up window
        • How to do it
        • How it works
        • See also
      • Adding a launch page
        • How to do it
        • How it works
      • Testing a custom controller
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Testing a controller extension
        • How to do it
        • How it works
        • See also
    • 2. Custom Components
      • Introduction
      • Passing attributes to components
        • How to do it
        • How it works
        • See also
      • Updating attributes in component controllers
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Passing action methods to components
        • How to do it
        • How it works
        • There's more
        • See also
      • Data-driven decimal places
        • How to do it
        • How it works
        • See also
      • The custom iterator component
        • Getting ready
        • How to do it
        • How it works
      • Setting a value into a controller property
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Multiselecting related objects
        • Getting ready
        • How to do it
        • How it works
      • Notifying the containing page controller
        • Getting ready
        • How to do it
        • How it works
        • See also
    • 3. Capturing Data Using Forms
      • Introduction
      • Editing a record in Visualforce
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding error messages to field inputs
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding error messages to nonfield inputs
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Using field sets
        • Getting ready
        • How to do it
        • How it works
      • Adding a custom lookup to a form
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding a custom datepicker to a form
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Retrieving fields when a lookup is populated
        • Getting ready
        • How to do it
        • How it works
      • Breaking up forms with action regions
        • Getting ready
        • How to do it
        • How it works
        • See also
      • The "Please wait" spinner
        • How to do it
        • How it works
      • Avoiding validation errors with action regions
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Action chaining
        • Getting ready
        • How to do it
        • How it works
      • Errors harmful if swallowed
        • Getting ready
        • How to do it
        • How it works
        • See also
    • 4. Managing Records
      • Introduction
      • Styling fields as required
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Styling table columns as required
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Attaching an image to a record
        • Getting ready
        • How to do it
        • How it works
        • There's more
        • See also
      • Managing attachments
        • Getting ready
        • How to do it
        • How it works
        • There's more
        • See also
      • Maintaining custom settings
        • Getting ready
        • How to do it
        • How it works
      • Refreshing record details from embedded Visualforce
        • Getting ready
        • How to do it
        • How it works
      • Using wrapper classes
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Changing options based on the user input
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Changing page layout based on the user input
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Form-based searching
        • Getting ready
        • How to do it
        • How it works
        • See also
    • 5. Managing Multiple Records
      • Introduction
      • Preventing duplicates by searching before creating
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Editing a record and its parent
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Managing a list of records
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Converting a lead
        • Getting ready
        • How to do it
        • How it works
        • There's more
      • Managing a hierarchy of records
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Inline-editing a record from a list
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Creating a Visualforce report
        • Getting ready
        • How to do it
        • How it works
      • Loading records asynchronously
        • Getting ready
        • How to do it
        • How it works
    • 6. Visualforce Charts
      • Introduction
      • Creating a bar chart
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Creating a line chart
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Customizing a chart
        • Getting ready
        • How to do it
        • How it works
      • Adding multiple series
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Creating a stacked bar chart
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding a third axis
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Embedding a chart in a record view page
        • Getting ready
        • How to do it
        • How it works
      • Multiple charts per page
        • Getting ready
        • How to do it
        • How it works
    • 7. JavaScript
      • Introduction
      • Using action functions
        • Getting ready
        • How to do it
        • How it works
      • Avoiding race conditions
        • Getting ready
        • How to do it
        • How it works
        • See also
      • The confirmation dialog
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Pressing Enter to submit
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Tooltips
        • Getting ready
        • How to do it
        • How it works
        • See also
      • The character counter
        • Getting ready
        • How to do it
        • How it works
      • The onload handler
        • How to do it
        • How it works
        • See also
      • Collapsible list elements
        • Getting ready
        • How to do it
        • How it works
        • See also
      • The scrolling news ticker
        • Getting ready
        • How to do it
        • How it works
        • There's more...
        • See also
      • Carousel messages
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Hiding buttons on submit
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Client-side validation
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Trapping navigation away
        • Getting ready
        • How to do it
        • How it works
        • See also
    • 8. Force.com Sites
      • Introduction
      • Creating a site
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Record and field access
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Retrieving content from Salesforce
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Web to lead form
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Creating a website template
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding a header menu to a template
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Adding a sidebar to a template
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Conditional rendering in templates
        • Getting ready...
        • How to do it
        • How it works
        • See also
    • 9. jQuery Mobile
      • Introduction
      • Mobilizing a Visualforce page
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Navigation and transitions
        • How to do it
        • How it works
        • See also
      • Adding a navigation bar
        • How to do it
        • How it works
        • See also
      • Working with dialogs
        • How to do it
        • How it works
        • See also
      • Listing records
        • How to do it
        • How it works
        • See also
      • Mobile Visualforce forms
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Redirecting to the mobile page based on the browser
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Storing the user's location
        • Getting ready
        • How to do it
        • How it works
        • See also
      • Scanning the QR code to access the page
        • Getting ready
        • How to do it
        • How it works
        • See also
    • Index
  • Title: Visualforce Development Cookbook. For developers who already know the basics of Visualforce, this book enables you to advance to the next level. With over 75 real-world examples accompanied by stacks of illustrations, it clarifies even the most complex concepts
  • Author: Keir Bowden
  • Original title: Visualforce Development Cookbook. For developers who already know the basics of Visualforce, this book enables you to advance to the next level. With over 75 real-world examples accompanied by stacks of illustrations, it clarifies even the most complex concepts.
  • ISBN: 9781782170815, 9781782170815
  • Date of issue: 2013-09-24
  • Format: Ebook
  • Item ID: e_3axx
  • Publisher: Packt Publishing