+ Start a Discussion
sunny.kapoor1306sunny.kapoor1306 

Show the task and corresponding leads in same page

I want to show the task and corresponding leads for which the task is assigned in a page,how can i do this?

Best Answer chosen by Admin (Salesforce Developers) 
SaxonSaxon
I got the field on the page. Is this waht you are looking for?
<apex:page standardController="Task" >
     <apex:form >
         <apex:inputField id="accId" value="{!task.WhatId}"/>  
         <apex:inputField id="tasId" value="{!task.WhoId}"/>
     </apex:form>
</apex:page>

 

All Answers

SaxonSaxon

Hello Sunny,

 

Do you want to show it on a Visualforce page?

 

Regards,

Zubair.

sunny.kapoor1306sunny.kapoor1306

yes sir

SaxonSaxon

Could you breif what exactly you are looking for?

sunny.kapoor1306sunny.kapoor1306

There are few fields in tasks like who,what

these are the lookups for lead,i am not able to display these fields

SaxonSaxon

If you show me the page then I can rectify it out!

sunny.kapoor1306sunny.kapoor1306

Just check the task fields,there you will find fields like what,who which are lookups,i want to show those

SaxonSaxon
I got the field on the page. Is this waht you are looking for?
<apex:page standardController="Task" >
     <apex:form >
         <apex:inputField id="accId" value="{!task.WhatId}"/>  
         <apex:inputField id="tasId" value="{!task.WhoId}"/>
     </apex:form>
</apex:page>

 

This was selected as the best answer
sunny.kapoor1306sunny.kapoor1306

Thanks saxon

SaxonSaxon

Have a good day. :)