• Matjaz Gercar
  • NEWBIE
  • 10 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hey all!
I am new in Salesforce development. I am trying to show all records in my own object, but all that I get is empty table with headers. 
I suppose there is something wrong with calling my object's records. This is my code:

<apex:pageBlock title="Students">
       <apex:pageBlockTable value="{!tudent__c}" var="all_students">
          <apex:column value="{!all_students.Name__c}"/>
          <apex:column value="{!all_students.Surname__c}"/>
          <apex:column value="{!all_students.Address__c}"/>
       </apex:pageBlockTable>
   </apex:pageBlock>

I can't find the reason why is empty, so any helping clue is great:) 
Hey all!
I am new in Salesforce development. I am trying to show all records in my own object, but all that I get is empty table with headers. 
I suppose there is something wrong with calling my object's records. This is my code:

<apex:pageBlock title="Students">
       <apex:pageBlockTable value="{!tudent__c}" var="all_students">
          <apex:column value="{!all_students.Name__c}"/>
          <apex:column value="{!all_students.Surname__c}"/>
          <apex:column value="{!all_students.Address__c}"/>
       </apex:pageBlockTable>
   </apex:pageBlock>

I can't find the reason why is empty, so any helping clue is great:)