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
sneha vsneha v 

Unable to pull the values

Hi all,

 

I am not able to pull the values .
I have 10 location
20 companies 
8 skills
 
 
<apex:page standardController="general__c" sidebar="false" showHeader="false" recordSetVar="general__c">
<apex:form >
<apex:pageBlock >
<apex:pageblockSection >
 
<apex:pageblockTable value="{!general__c}" var="ge"  columnsWidth="150px, 150px,150px , 150px" >
     <apex:column headerValue=" "/>
     <apex:column headerValue="Locations">value="{!ge.location__c}" </apex:column>
     <apex:column headerValue="companies" value="{!ge.company__c}"/>
     <apex:column headerValue="skills" value="{!ge.skills__c}"/> 
</apex:pageblockTable> 
 
</apex:pageblockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
 
 
 
Thanks,
Sneha 
Avidev9Avidev9

I guess you need work on naming conventions.!

 

<apex:page standardController="general__c" sidebar="false" showHeader="false" recordSetVar="generals">
<apex:form >
<apex:pageBlock >
<apex:pageblockSection >
 
<apex:pageblockTable value="{!generals}" var="ge"  columnsWidth="150px, 150px,150px , 150px" >
     <apex:column headerValue=" "/>
     <apex:column headerValue="Locations">value="{!ge.location__c}" </apex:column>
     <apex:column headerValue="companies" value="{!ge.company__c}"/>
     <apex:column headerValue="skills" value="{!ge.skills__c}"/> 
</apex:pageblockTable> 
 
</apex:pageblockSection>
</apex:pageBlock>
</apex:form>
</apex:page>

 

prathap pendemprathap pendem

Yes Sneha, You need modify "recordsetvar" attribute value. and Try  Once again

sneha vsneha v

Hi , 

 

I wrote a custom controller and it worked .... thanks for the help thou !!

 

-

Sneha