You need to sign in to do that
Don't have an account?
Gopesh Vardhan Singh
Problem while making visual force page
// Getting error while trying to save this apex code in Vf page .....
Position__c is my custom object and Educational_Requirements__c is the custom feild of this objest...
<apex:page standardController="Position__c" sidebar="false">
<apex:form>
<apex:inputField value="(Position__c.Educational_Requirements__c)"/>
</apex:form>
</apex:page>
Error is :Error: Attribute value in <apex:inputField> must contain only a formula expression that resolves to a single controller variable or method in CandidateMap at line 3 column 78
Position__c is my custom object and Educational_Requirements__c is the custom feild of this objest...
<apex:page standardController="Position__c" sidebar="false">
<apex:form>
<apex:inputField value="(Position__c.Educational_Requirements__c)"/>
</apex:form>
</apex:page>
Error is :Error: Attribute value in <apex:inputField> must contain only a formula expression that resolves to a single controller variable or method in CandidateMap at line 3 column 78
<apex:inputField value="(Position__c.Educational_Requirements__c)"/>
to
<apex:inputField value="{!Position__c.Educational_Requirements__c}"/>
If this helps,please mark it as best answer to help others.
OR is their any other method also....
Till the time i m doing coding .. I click on my custom objest tab POSITION ...to see that part...
But wants to know how the END-USER will see it...Since he doesn't know the new Arrival that i have made according to my convinence.
1.) You can create a Custom Button on your Position object and bind this VF page to it.Then,you can go ahead and add that button to the Page Layout.Whenever an user clicks that button,this VF page would be displayed.
2.) You can create a VF tab and call this VF page on clicking of that Tab.Go through below link to learn how you can create a VF tab.
https://help.salesforce.com/HTViewHelpDoc?id=pages_tabs_create.htm&language=en_US
If this helps,please mark it as best answer to help others.