You need to sign in to do that
Don't have an account?
flor1an
visualforce page instead of standard task edit page
Hello,
we would like to create a visualforce page to track a call instead of using the standard funtionality.
Until now it is very basic. At the moment we got problems with including lookup fields like case id and so on. Is this possible?
In this forum i found sth like :
<apex:outputLink value="/!{opportunity.id}">{!opportunity.Name}</apex:outputLink>
but then i get an error for using Standardcontroller="task"
<apex:page showHeader="false" sidebar="false" standardController="task">
<apex:form >
<apex:pageblock >
<apex:sectionHeader title="Anruf Protokollieren" />
<apex:pageBlockButtons location="both">
<apex:commandButton value="Speichern" action="{!save}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection columns="1">
<apex:pageblockSectionItem ><apex:outputLabel value="Bezug zu"/><apex:inputField value="{!case.id}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Basis-Produkt"/><apex:inputField value="{!task.Basis_Produkt__c}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Gesrächsinhalt"/><apex:inputField value="{!task.Description}" style="width:400px"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Dauer (Minuten)"/><apex:inputField value="{!task.Dauer__c}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Abschließende Klärung"/><apex:inputField value="{!task.Abschliessende_Klaerung__c}"/></apex:pageblockSectionItem>
</apex:pageBlockSection>
</apex:pageblock>
</apex:form>
</apex:page>
we would like to create a visualforce page to track a call instead of using the standard funtionality.
Until now it is very basic. At the moment we got problems with including lookup fields like case id and so on. Is this possible?
In this forum i found sth like :
<apex:outputLink value="/!{opportunity.id}">{!opportunity.Name}</apex:outputLink>
but then i get an error for using Standardcontroller="task"
<apex:page showHeader="false" sidebar="false" standardController="task">
<apex:form >
<apex:pageblock >
<apex:sectionHeader title="Anruf Protokollieren" />
<apex:pageBlockButtons location="both">
<apex:commandButton value="Speichern" action="{!save}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection columns="1">
<apex:pageblockSectionItem ><apex:outputLabel value="Bezug zu"/><apex:inputField value="{!case.id}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Basis-Produkt"/><apex:inputField value="{!task.Basis_Produkt__c}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Gesrächsinhalt"/><apex:inputField value="{!task.Description}" style="width:400px"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Dauer (Minuten)"/><apex:inputField value="{!task.Dauer__c}"/></apex:pageblockSectionItem>
<apex:pageblockSectionItem ><apex:outputLabel value="Abschließende Klärung"/><apex:inputField value="{!task.Abschliessende_Klaerung__c}"/></apex:pageblockSectionItem>
</apex:pageBlockSection>
</apex:pageblock>
</apex:form>
</apex:page>
flor1an
anyone?