You need to sign in to do that
Don't have an account?
Harsha S 2
Link to VF Page in Task Description
How to pass the link to VF page in Description field while creating Task record?
Because "Description" field accepts only text format
Because "Description" field accepts only text format
<apex:form >
<apex:pageBlock mode="edit">
<apex:pageblockButtons >
<apex:commandButton value="Save" action="{!save}" />
</apex:pageblockButtons>
<apex:pageBlockSection title="Quick Edits" columns="1">
<apex:inputField value="{!Task.Whatid}"/>
<apex:inputField value="{!Task.Subject}"/>
<apex:inputField value="{!Task.Representative__c}"/>
<apex:inputField value="{!Task.Category__c}"/>
<apex:inputField value="{!Task.Comments__c}" style="width:400px; height:200px"/>
<apex:inputField value="{!Task.Perceived_Call_Value__c}"/>
<apex:inputField value="{!Task.Referred_To__c}"/>
<apex:inputField value="{!Task.Interaction__c}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Here's the apex class extension:
public class extension_task{
Task task = new Task();
public extension_task(ApexPages.StandardController controller) {
this.task = (Task)controller.getRecord();
}
}