+ Start a Discussion

Checking field references in visualforce pages or apex class.

I wanted to check where some of the fields from a custom object are being referenced in either a Visualforce page or an apex class.Is there a way to check this?

Saikishore Reddy AengareddySaikishore Reddy Aengareddy

Try deleting the field from UI(manually and if it has any references in Apex classes or visualforce pages it will list all of them. Dont worry if no reference found and the field got deleted... you can always restore the field and the data in it.

Afzal MohammadAfzal Mohammad

Neha, did you get a solution to this?



For checking the field references in vf pages or apex pages u can search in eclipse in the respective folders with the field name.Apart from trying to delete this was the only way I could find.

FieldPro AdminFieldPro Admin
Try FieldPro (https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EcsCZUAZ). This lightweight application enables Salesforce users to search/report/run-impact-analysis/find-metadata-references in all fields with lightning speed.