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
apex_keenapex_keen 

Error in VF page : property is referenced in VF page

In my controller, I've property which is referenced by visual force page. Later on I've to change the name of property . I change the name everywhere( controller as well as in vf page) but still on saving the page , I'm getting following error : 

 

"The property String <name of property>is referenced by Visualforce Pagein salesforce.com. Remove the usage and try again" 

 

What should I do ?

BharathimohanBharathimohan

Hello,

 

Try the following steps,

 

1. Ensure that you remove the variable/property name in the all visualforce pages using that particular controller.

Thre are chances that more than one Visual Force pages is using one controller, please check.


2. Once you removed the variable/property name, change the Property name in the controller and save it.

Now use the changed property name in the VF page....and save it...

 

 

Hope this workd for you...

 

 

Please mark this post as solved, if it helps you

 

Regards,

Bharathi
Salesforce For All