+ Start a Discussion
Rohit AmmanamanchiRohit Ammanamanchi 

Visualforce learning

I have created fields in teh Resume Object and tried to insert in the VF page and got this error "Unknown property 'Resume.Professional_Experience__c'". Can you please tell me where did I go wrong?

<apex:page  controller="Resume" renderAs="pdf">
    <apex:pageBlock title="Resume">
        <apex:pageBlockTable value="{!Professional_Experience__c}" var="con">
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Rohit,

As it is custom component It shouls have Resume__c on the controller name.

Please find the below page i created and working as expected.
<apex:page standardController="Resume__c" tabStyle="Resume__c" >

<apex:pageBlock title="Resume Record">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
<apex:pageBlockSection title="Resume Details" columns="2">
<apex:inputField value="{!Resume__c.Name}"/>
<apex:inputField value="{!Resume__c.Professional_Experience__c }"/>

Replace the field names as per your requirement.

If this solution helps, Please mark it as best answer.

Anand kurubaAnand kuruba
<apex:page controller="Resume__c" renderAs="pdf">
        <apex:pageBlock title="Resumedetails" >
            Resumedetails : <apex:inputField value="{!Resume__c.Professional_Experience__c }"/>
            <apex:commandButton action="{!save}" value="save"/>
            <apex:commandButton action="{!cancel}" value="cancel"/>
once please follow this link

Rohit AmmanamanchiRohit Ammanamanchi
So here is the scenario. I have created the requisite fields for resume in the Resume object like "professional Summary", Professional Experience, etc and once I put the details on the record, it should display as a pdf. So I am not looking to have the command buttons like save, cancel on the pdf page.