You need to sign in to do that
Don't have an account?
jamesGreen.ax691
Save Button in webpage is not displaying
Hi,
I have created a webpage in visualforce, a very simple page infact.
Take a look at the web page. http://funcode-developer-edition.ap1.force.com/
There used to be another save button in the code, it will be diaplayed for the admin who is creating the page,
but it is not displaying in the webpage for the end user...
Please help me out in this.
If the save button is not dispalying it probably means the user does not have update access to the custom object that the page updates.
All Answers
check your salesforce site page profile.
thanks for the reply ..
the problem is we have created a visualforce page and used this code
<apex:commandButton action="{!save}" value="Save" id="theButton"/>
but the data entered is not being saved ,,,pls help us out
paste your code so that i can check.
the sampe code is here
<apex:page standardStylesheets="false" showHeader="false" sidebar="false" standardController="ONE__c" recordSetVar="products">
<apex:stylesheet value="{!URLFOR($Resource.styles, 'styles.css')}" />
<h1>Contact Management System</h1>
<apex:form >
<apex:dataTable value="{!products}" var="pitem" rowClasses="odd,even">
<apex:column headerValue="Facility Name">
<apex:outputField value="{!pitem.Facility_Name__c}"/>
</apex:column>
<apex:column headerValue="Facility Name_Edit">
<apex:inputField value="{!pitem.Facility_Name__c}"/>
</apex:column>
<apex:column headerValue="Phone Number">
<apex:outputField value="{!pitem.Phone__c}"/>
</apex:column>
<apex:column headerValue="Phone Number_eidt">
<apex:inputField value="{!pitem.Phone__c}"/>
</apex:column>
</apex:dataTable>
<br/>
<b> <apex:commandButton action="{!quicksave}" value="Update" /> </b>
</apex:form>
</apex:page>
the problem is with command button
Hey
Please post your apex code too. And the site URL you specified doesn't seem to work.
Wes
If the save button is not dispalying it probably means the user does not have update access to the custom object that the page updates.
Ah yes this is correct, I didn't notice that you're using a standardcontroller. If the user does not have write access to the object in question, they won't see the button.
Wes
I had the same problem, i created a new Object with some input field and the fields were not displaying. This was because the user did not had access to modify it. So just provide access to your save button for that user and it should work.
I had the same problem where I created a new object and the input field was not displaying. I later fugured out that the user I was logged in did not have update rights to that filed, changed the rights and it worked. So just try giving the access to that user and it should work.