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
Brijesh_85Brijesh_85 

Save Button is not visible while making VF page public using Site

Hi All,

 

I feel one strange behaviour of VF page. I developed one VF page. I am using save button in it. It works

fine.

 

When I am making this VF page public using Sites. The Page gets loaded without save button.

 

In my VF page I have included one more button called Cancel. That I can see once the page gets load.

But why I cant see the save buttion.

 

Code :

 

 <apex: commandButton action="{!save}" Value="Save" styleClass="btn"/>
 
  <apex: commandButton action="{!cancel}" Value="Cancel" styleClass="btn" />

 

I gave all the possible(Visible/Read/Create) permissions to the custom objects in Profile and in SiteDetails section. 

 

 

Thanks in Advance

Brijesh Thakur.