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
Salesforce@322Salesforce@322 

Impacts when we change standard page to visualforce page

Hi,


what are the impacts of trigers,validation rules,workflows,approvals,relationships to another objects when we change custom object
Mikola SenykMikola Senyk
Hi,

As a rule, changing of custom object is a safe action. Especially, when you add new optional field.
Salesforce prevents deleting field if there is any references from Apex code or workflow.
However you should be careful with:
  • new required fields without default value
  • dynamic queries
  • access to the field by name, i.e. sObject.get(fieldName)