• stpetecrm
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I would like to have a lookup field instead of a text box on my opportunity wizard.
 
What control should be used to lookup vs. inputText?
 
Thanks
I am trying to create a tab to represent the related list of my quotes custom object. Keep ketting an exception that tells me that this is incorrect.
 
Quotes Object: Quotes__c has a lookup relationship to Opportunity
 
Here's my code:
 

<apex:page standardController="Opportunity"showHeader="true"tabStyle="opportunity">

<apex:tabPanel switchType="client"selectedTab=""id="OpportunityTabPanel"tabClass="activeTab"inactiveTabClass="inactiveTab">

<style>

.activeTab{background-color:#236FBD;color:white;background-image:none}

.inactiveTab{background-color:lightgrey;color:black;background-image:none}

</style>

<apex:tab label="Details"name="OppDetails"id="tabdetails">

<apex:detail relatedList="false"title="true"/>

</apex:tab>

<apex:tab label="Products"name="Products"id="tabOpp">

<apex:relatedList subject="{!opportunity}" list="opportunitylineitems"/>

</apex:tab>

<apex:tab label="Quotes"name="Quotes"id="tabOpenAct">

<apex:relatedList subject="{!opportunity}"list="quotes"/>

</apex:tab>

<apex:tab label="OpenActivities"name="OpenActivities"id="tabOpenAct">

<apex:relatedList subject="{!opportunity}"list="OpenActivities"/>

</apex:tab>

</apex:tabPanel>

</apex:page>

 

Thanks

I am trying to display the Partners related list

Code:
<apex:page standardController="Opportunity">
<apex:outputText value="{!Opportunity.Name}"/>

<!--<apex:relatedList list="OpenActivities"/>-->
<apex:relatedList list="Partners"/>
</apex:page>

 
I get a Visual Force error:
'Partners' is not a valid child relationship name for entity Opportunity.

Under Opportunity child Relationship I see the relationship name is 'Partners'









  • April 16, 2008
  • Like
  • 0
I would like to have a lookup field instead of a text box on my opportunity wizard.
 
What control should be used to lookup vs. inputText?
 
Thanks
I am trying to create a tab to represent the related list of my quotes custom object. Keep ketting an exception that tells me that this is incorrect.
 
Quotes Object: Quotes__c has a lookup relationship to Opportunity
 
Here's my code:
 

<apex:page standardController="Opportunity"showHeader="true"tabStyle="opportunity">

<apex:tabPanel switchType="client"selectedTab=""id="OpportunityTabPanel"tabClass="activeTab"inactiveTabClass="inactiveTab">

<style>

.activeTab{background-color:#236FBD;color:white;background-image:none}

.inactiveTab{background-color:lightgrey;color:black;background-image:none}

</style>

<apex:tab label="Details"name="OppDetails"id="tabdetails">

<apex:detail relatedList="false"title="true"/>

</apex:tab>

<apex:tab label="Products"name="Products"id="tabOpp">

<apex:relatedList subject="{!opportunity}" list="opportunitylineitems"/>

</apex:tab>

<apex:tab label="Quotes"name="Quotes"id="tabOpenAct">

<apex:relatedList subject="{!opportunity}"list="quotes"/>

</apex:tab>

<apex:tab label="OpenActivities"name="OpenActivities"id="tabOpenAct">

<apex:relatedList subject="{!opportunity}"list="OpenActivities"/>

</apex:tab>

</apex:tabPanel>

</apex:page>

 

Thanks