• RRC007
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 8
    Replies
Hi. Was wondering if anyone knows a better way to make a field label stand out as oppose to what i have below: Field Information:Field Label Test.com Demo Field Name bfontcolorblueTestcomDemo API Name bfontcolorblueTestcomDemo__c It works but does not look clean when I need to reference the API Thanks, RRC

I have a VF page that displays Account and related Opportunities. I cannot align my totals to the proper columns as the last row on the page. Any advice?

 

Here's my first initial crack at this: 

 

<apex:pageBlock title="IN-FLIGHT OPPORTUNITIES">

        <apex:pageBlockSection columns="1">

          <apex:pageblockTable value="{!Opportunities}"  var="opps" border="0" cellspacing="0" cellpadding="0" >

              <apex:column style="width:40%" headervalue="Name"> <apex:outputfield value="{!opps.Name}"/> </apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Total Contract Value">

                 <apex:outputfield value="{!opps.Total_Contract_Amount__c}"/></apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Revenue Current Yr">

                 <apex:outputfield value="{!opps.Projected_Current_Year_Revenue__c}"/> </apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Revenue Next Yr">

                 <apex:outputfield value="{!opps.Projected_Next_Year_Revenue__c}"/> </apex:column>

              <apex:column style="width:20%" headervalue="CBP Stage"> <apex:outputfield value="{!opps.StageName}"/> </apex:column>

              <apex:column style="width:10%" headervalue="Close Date"> <apex:outputfield value="{!opps.CloseDate}"/> </apex:column> 

          </apex:pageblockTable>

          

          <apex:dataTable value="{!Account}" var="a" border="0" cellspacing="0" cellpadding="0" style="font-weight:bold;">  

             <apex:column > <apex:outputText value="Totals"> </apex:outputText> </apex:column>

             <apex:column style="text-align:right"> <apex:outputField value="{!a.Grand_Total_Opps_Contract_Value__c}"/> </apex:column>                                   

             <apex:column style="text-align:right"> <apex:outputField Value="{!a.Grand_Total_Opps_Revenue_Current_Yr__c}"/> </apex:column>

             <apex:column style="text-align:right"> <apex:outputField Value="{!a.Grand_Total_Opps_Revenue_Next_Yr__c}"/> </apex:column>

          </apex:dataTable>

 

Output shows: Totals$xxxxxxx $xxxxxxxx $xxxxxxx 

 

  • March 11, 2010
  • Like
  • 0
is it possible to print two VF pages using one custom button? I have 2 pages that need to be maintained separately but wouldl ike my users to be able to print using only one button. Thoughts?
  • December 02, 2009
  • Like
  • 0

Aside from the free app on appxchange, has anyone created/used/purchased an map building add-ins for salesforce? I'm looking to provide our sales teams with collaborative maps that are easy to use, visually helpful and customizable.

Any info would be greatly appreciated. 

Thanks,

RRC

  • October 19, 2009
  • Like
  • 0

I have a VF page that displays Account and related Opportunities. I cannot align my totals to the proper columns as the last row on the page. Any advice?

 

Here's my first initial crack at this: 

 

<apex:pageBlock title="IN-FLIGHT OPPORTUNITIES">

        <apex:pageBlockSection columns="1">

          <apex:pageblockTable value="{!Opportunities}"  var="opps" border="0" cellspacing="0" cellpadding="0" >

              <apex:column style="width:40%" headervalue="Name"> <apex:outputfield value="{!opps.Name}"/> </apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Total Contract Value">

                 <apex:outputfield value="{!opps.Total_Contract_Amount__c}"/></apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Revenue Current Yr">

                 <apex:outputfield value="{!opps.Projected_Current_Year_Revenue__c}"/> </apex:column>

              <apex:column style="width:10%;text-align:right;" headervalue="Revenue Next Yr">

                 <apex:outputfield value="{!opps.Projected_Next_Year_Revenue__c}"/> </apex:column>

              <apex:column style="width:20%" headervalue="CBP Stage"> <apex:outputfield value="{!opps.StageName}"/> </apex:column>

              <apex:column style="width:10%" headervalue="Close Date"> <apex:outputfield value="{!opps.CloseDate}"/> </apex:column> 

          </apex:pageblockTable>

          

          <apex:dataTable value="{!Account}" var="a" border="0" cellspacing="0" cellpadding="0" style="font-weight:bold;">  

             <apex:column > <apex:outputText value="Totals"> </apex:outputText> </apex:column>

             <apex:column style="text-align:right"> <apex:outputField value="{!a.Grand_Total_Opps_Contract_Value__c}"/> </apex:column>                                   

             <apex:column style="text-align:right"> <apex:outputField Value="{!a.Grand_Total_Opps_Revenue_Current_Yr__c}"/> </apex:column>

             <apex:column style="text-align:right"> <apex:outputField Value="{!a.Grand_Total_Opps_Revenue_Next_Yr__c}"/> </apex:column>

          </apex:dataTable>

 

Output shows: Totals$xxxxxxx $xxxxxxxx $xxxxxxx 

 

  • March 11, 2010
  • Like
  • 0
is it possible to print two VF pages using one custom button? I have 2 pages that need to be maintained separately but wouldl ike my users to be able to print using only one button. Thoughts?
  • December 02, 2009
  • Like
  • 0

We use a lookup  (parent/child) relationship on opportunities that are "attached" to other opportunities. I need to have a formula field on the Parent Opp that sums a currency field (Total Contract Value) from each of the Child Opportunities.

 

The child opportunities are not Custom Objects so it appears that Roll-up summaries will not work.

 

Can someone help me here?

 

Thanks,

Jane

  • November 11, 2009
  • Like
  • 0

Aside from the free app on appxchange, has anyone created/used/purchased an map building add-ins for salesforce? I'm looking to provide our sales teams with collaborative maps that are easy to use, visually helpful and customizable.

Any info would be greatly appreciated. 

Thanks,

RRC

  • October 19, 2009
  • Like
  • 0
I want to use styleclass attribute in outputField, but it's not working,
In outputText, it's working well...

if there's somebody to know the reason, let me know ~
thanks in advance..

Code:
                 <apex:column headerValue="Amount" headerclass="bold center">
<div name="subttl" class="right">{!itm.subtotal}</div>
<apex:facet name="footer">
<apex:panelGrid cellspacing="0" cellpadding="0" border="0">
<apex:outputField value="{!projectInstance.Agency_Compensation__c}" styleClass="right" />
<apex:outputField value="{!projectInstance.Amount__c}" styleClass="bold right" />
</apex:panelGrid>
</apex:facet>
</apex:column>


Message Edited by yibonglee on 12-01-2008 06:56 PM
How can i get distinct elements from the database? Does SOQL not provide something like unique or distinct?