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
JasonJeffriesJasonJeffries 

Deploying visualforce page breaks save for anyone on the page

We have a visual force page that is exposed through our Salesforce Community.  The page is part of an application process, and contains 40+ fields on the page. 

The issue that we are running into is that when we want to deploy an update to the page or controller, it breaks for everyone on the page.  When they go to save the page it returns the error that the page has been updated recently and the user then loses all the work they have done and needs to start over again.  aka a horrible user experience.

What is the recommended process for updating a visualforce page so we don't break the page for customers?  Is there a way other than just deploying at 3 am?

Thanks,

Jason
Ankit AroraAnkit Arora
Am afraid, there is no other way to do this except deploying code at a time when nobody is using it.