Newer Version Available

This content describes an older version of this product. View Latest

Live Controller (Pilot)

Live controller is a standard Visualforce component that dynamically refreshes a Visualforce page to display changes to data in real time. It works only in Lightning Experience. When you have a Lightning page that contains both Lightning components and Visualforce pages, use live controller to ensure that your Visualforce page's data is up-to-date. With live controller, your Visualforce pages automatically refresh the way your Lightning components do with Lightning Data Service.

We provide live controller to selected customers through a pilot program that requires agreement to specific terms and conditions. To be nominated to participate in the program, contact Salesforce. Pilot programs are subject to change, and we can’t guarantee acceptance. Live controller isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Note

Live controller uses Lightning Data Service and Visualforce's rerender function to update data on a Visualforce page. When a Visualforce page is embedded on a Lightning page, live controller notifies the Visualforce page to rerender when Lightning Data Service detects an update to a record. The rerender function generates the new Visualforce page UI with the latest data server-side. It then inserts the new Visualforce page into the DOM, replacing the stale component.

Requirements

Before using live controller, make sure that:

  • Live controller is enabled in your domain.

  • Your org is using Lightning Experience.

  • Your Visualforce page uses API 46.0 or above. 


Supported Object Types

  • Account
  • Contact
  • Opportunity
  • Case
  • Lead
  • Custom objects

For standard objects that aren't supported, manually refresh the browser page to see the latest changes to data.