function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Reference visualforce page in apex trigger


We installed a managed package in our org which includes visualforce page components. One of the pages displays a field called 'Total Account Value' but this is not being stored. Is it possible to use this field in creating triggers when you can only access this field from a visualforce page?
Edwin VijayEdwin Vijay
Typically when you say it's a field it should be tied to an object and be accessible in triggers.

However, in your case it might be that it is only a piece of info displayed on the VF page and not stored in the database. If it is not stored, eventually you will not be able to access in triggers.