I have a Visualforce page which has a Case object. It's pretty standard. However when I try to refer the ContactPhone by the code, using <apex:outputText value=" {!Case.ContactPhone}"></apex:outputText>
, the editor throws an error saying:
Invalid field ContactPhone for sObject Case.
I want to create a button that can show a pdf of the Case Object. So I created a Visualforce Page and tried to create a button that relates to the VF Page. But I got stuck here. Could anybody tell me what should I do? How can I refer to this field? Thanks