Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is my public site displaying list of records from a custom object.

As you can see the delete input checkboxes are not getting rendered but they are rendered as expected within Salesforce.

Can someone explain this odd behavior ?

Screenshot within Salesforce

enter image description here

This is my VF Page.

<apex:page standardcontroller="Expense__c" extensions="ExpenseController"  sidebar="false" showHeader="true" showChat="false" recordSetVar="exp" >
<script src="../../soap/ajax/30.0/connection.js" type="text/javascript"></script>
<apex:form >
<!--<apex:panelGrid columns="20">-->
<apex:pageMessages />
<apex:commandLink action="{!previous}" rendered="{!isTwenty}">Previous</apex:commandLink>
<apex:commandLink action="{!next}" rendered="{!isTwenty}">Next</apex:commandLink>


<apex:inlineEditSupport />

<apex:pageBlock title="List of Expenses">
<apex:pageBlockTable value="{!exp}" var="item" >
<apex:column headerValue="Delete" width="20px">
<apex:inputCheckbox onchange="alert('Are you sure ?');" value="{!item.IsDeletedFromUI__c}" rendered="true"  />

<apex:column headerValue="Date" >
<apex:outputField value="{!item.Date__c}" />

<apex:column headerValue="Type">
<apex:outputField value="{!item.Type__c}"/>

<apex:column headerValue="Amount">
<apex:outputField value="{!item.Amount__c}"/>
<apex:column headerValue="Comments">
<apex:outputField value="{!item.Comments__c}"/>
<p>Sum of All Expenses : Rs {!SumOfAllExpenses}</p>
<apex:commandButton action="{!save}" value="Save" id="theButton1" />
<!--<apex:commandButton action="{!custom_delete}" value="Delete" id="theButton2" />-->
<!--<apex:commandButton value="Total" id="theButton2" onclick="alert('Deleting the expense...')"/>-->
<apex:pageBlock title="Enter Password for Deletion: " >
<apex:inputSecret value="{!pwd}" />

share|improve this question
Check the Field level security of that field for guest user and make sure its not read only.It should be visible. – Mohith Shrivastava Apr 20 '14 at 3:17
Hi. Thanks for the pointer. That was the issue. Can you post this as answer so that I can accept it ? – ZenSeeker Apr 20 '14 at 3:55
Posted as an answer.Thanks – Mohith Shrivastava Apr 20 '14 at 3:57
up vote 2 down vote accepted

Check the Field level security of that field for guest user and make sure its not read only.It should be visible

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.