You need to sign in to do that
Don't have an account?
Mickey Stringer 5
Visualforce Pages Suddenly Not Displaying Fields
All of our Visualforce pages suddenly stopped displaying all fields and values. I see no changes made to the pages, the underlying classes, the objects and fields referenced, nor to guest profile permissions.
On the Salesforce side, the only message I see is that legacy SOAP API versions were retired today, but I don't see how that comes into play here. Furthermore, they say those versions are usable until the Winter '19 release (we are on Summer '18).
Has anyone seen this before?
On the Salesforce side, the only message I see is that legacy SOAP API versions were retired today, but I don't see how that comes into play here. Furthermore, they say those versions are usable until the Winter '19 release (we are on Summer '18).
Has anyone seen this before?
Go to Setup->Develop->Site->Site Label->Public Access Settings and check the guest profile has READ ALL permission for the object.
That is all I can recommend.
All Answers
Go to Setup->Develop->Site->Site Label->Public Access Settings and check the guest profile has READ ALL permission for the object.
That is all I can recommend.
So let's try with process of elimination.
Did you try to view the page as "Preview as Admin" under Sites. What was the result? If you weren't able to see any fields, check the "Site Visualforce Pages" list under Site details and ensure that your VF page is listed there. Then go to "Public Access Setting" and check that both VF page and controller class are listed under your guest profile.
Then scroll up to "Field Level Security" section in Guest Profile view and select the objects whose value is being shown on the page.
Click on VIEW and Check if all the fields have READ Access or not.
After doing this, then test the page again using "Preview as Admin".
If all this failes, then do one thing. Open the controller class which is affiliated to the VF page. You can find it by going on the VF page and checking dependencies. There must be some queries listed in the class.
Check all those queries using Developer Console "Query Editor".
Maybe because the page and code is old, somesObject iteration is causing a problem.