+ Start a Discussion
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12 

Error: Expression value does not resolve to a field

Hi,

I am tried to create custom visualforce page for pricebookEntry, But When trying to insert a standard field in a visual force page i am getting following error message is:
Expression value does not resolve to a field
Error is in expression '{!PricebookEntry.Product2}' in component <apex:inputField> in page pricebookentry_edit


How to solve this?

Thanks.
Best Answer chosen by sundhar.mks1.3962649227519546E12
ManojjenaManojjena
Hey Sundhar,

Which field you want to display from product ? If you want to display Name of product then try with "{!PricebookEntry.Product2.Name}" .