Newer Version Available
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.
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.