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
dsh210@lehigh.edudsh210@lehigh.edu 

Overriding blank.html for custom load screen

I have a very complex Salesforce application that requires pulling a large amount of data from the database. Because of this, my custom Visualforce page can take up to 10 seconds to load. Currently, the user is presented the white screen that is the blank.html screen provided by Visualforce.

 

I am wondering if anyone knows of a way I can override that page or using some other method, present a loading message. Having feedback that their information is being retrieved and set up would be far more useful than just that white page.

 

Thank you for your suggestions!

Derrek

 

P.S. I tried a javascript redirect where a loading page redirected to their custom page, but the second the redirect is initiated, blank.html is loaded up.

bob_buzzardbob_buzzard

Could you not render the VF page and then do the heavy lifting via an actionfunction, then rerender the page as appropriate?  The actionfunction could be called from a javascript timer if needs be.