0

I created a VF page for a custom object with a field that is a lookup>contact. When I mouseover the contact on my VF page, it pops up a window with name and account name. Here is my current display code (its inline edit field):

<apex:outputField value="{!CustomObject__c.Contact1__c}" > 
<apex:inlineEditSupport showOnEdit="saveButton, cancelButton" 
hideOnEdit="editButton" event="ondblclick" 
changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>
</apex:outputField>

Here is a screenshot

https://drive.google.com/file/d/0B8JYtufLnux9bEJxUHNDWDFYQTA/view?usp=sharing

How could I get contact.title to show there as well?

5

goto to contact page layout -> mini pagelayout (top right corner), add fields, save

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.