• 5 Points
  • Member since 2011

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 7

Does anyone know when the Communities implementation guide will be released? There are references to it in the Ideas IG, but I cannot find it on the web.


Does anyone have a good resource for implementing Ideas in the new Communities? Can I just use the old Customer Portal documentation?


Thanks in advance!

  • July 11, 2013
  • Like
  • 0

Hi im trying to find an alternative to

<apex:page standardcontroller="Shipment" action="{!agree}">


 by using apex:actionFuntion so that the code looks something like this

<apex:page standardcontroller="Shipment" >
some code...
<apex:actionFucntion name="agree" action="{!agree}"/>


 can someone help me?



I have a visualforce page with Tabs on it. whenever a user clicks on a different tab, the page loads and the changes are not persisted.

How can i persist the changes?


A workaround was to have a Javascript that would pop up (confirmmessage) everytime a user switches between tabs .

But when the user clicks on the cancel button if the confirm dialog i want the page not to switch to the tab. 


For some reson the tab is getting switched?


Any help is highly appreciated.


VF Page:

<apex:page >
<apex:form >
<script >
function showtabAlert()
    confirm("Please Save your Changes before Navigating to a New Tab!");

<apex:tabpanel switchtype="server" selectedTab="Qualify" onclick="showtabAlert();" >
<apex:tab label="Customer Information" name="Customer Information">
<apex:tab label="Qualify" name="Qualify">
<apex:tab label="Validate" id="TabValidate" >
<apex:tab label="Other tab" disabled="true">

<apex:commandButton value="Click Me" onclick="showtabAlert();"/>







This refers to case: 03723681


I want to create custom fields that are linked between Leads and Opportunities. I can easily create a field in Leads and Map it to custom field in Opportunities. Then the value entered as a Lead will be carried into the Opportunities. But if i later change the value once it is an Opportunity, and then run a report on Leads, the value of that field will still be the value that appeared when the Lead was converted.

How do i make it so that, when i change this field as an Opportunity, it is mapped back to the Lead value.

In other words, to Map these custom fields in BOTH directions (from Lead to Opp AND from Opp back to Lead).


For example, i created a field called Lead SOurce Detail. I created it in Leads and mapped it to customer field in Opportuntiies, also called Lead Source Detail. THen i have a report called "Leads by LEad SOurce" in which i show ALL leads, whether converted or not, and what the Lead SOurce DEtail is. However if i change the Lead Source Detail on a converted lead, and run this report, it still shows the old value of Lead Source Detail, i.e. the value that existed when I converted the lead. Rather, i want the report to show the new value that i entered when it was already a converted lead.


Apparently this can be done via Formula field. But i am a clueless sales guy who hasn't programmed anything since senior year of college. Is this something that i need a PhD for or can a mere mortal do it?


   I want to re-create the Task Page in Visualforce and have the Whoid and what id filled in. Now, I can get this to work if I dont use the VF task page and use the standard task page. But I can not get it to work on the VF Page??/

Basically a user will click new task and it will open up this VF task page and have the whoid and whatid filled in automatically through URL. Do not know how to:


public PageReference Monitor(){

    moni = new List<History__c>(
            [SELECT  id,
            FROM History__c 
            where Student__c=:ApexPages.currentPage().getParameters().get('oppIdd')
            AND id=:ApexPages.currentPage().getParameters().get('oppIddc')
   //PageReference newpage = new PageReference('/00T/e?who_id=' + monitorstudent[0].Student__c+ '&what_id=' + monitorstudent[0].Id + '&retURL=%2Fhome%2Fhome.jsp');
    PageReference newpage = new PageReference('/apex/Task?who_id=' + monitorstudent[0].Student__c+ '&what_id=' + monitorstudent[0].Id );

        return newpage; 
<apex:page standardController="Task" sidebar="false">

    <apex:form >
        <apex:pageBlock title="Edit Task" id="thePageBlock" mode="edit">
            <apex:pageMessages />
            <apex:pageBlockButtons >
                <apex:commandButton value="Save" action="{!save}"/>
                <apex:commandButton value="Cancel" action="{!cancel}"/>                
            <apex:actionRegion >
                <apex:pageBlockSection title="Basic Information" columns="1">
                <apex:inputField value="{!Task.Ownerid}"/>
                    <apex:pageBlockSectionItem >
                        <apex:outputLabel value="Subject"/>
                            <apex:inputField value="{!Task.Subject}"/>
                    <apex:inputField value="{!Task.whoid}"/>
                    <apex:inputField value="{!Task.whatid}"/>





Please help me figure this out. Thanks


I am trying to display the Partners related list

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

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

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
  How would I go about doing it?

The usage is as follows:

For example, if an account has 10 contacts, instead of editing one at a time. I want  to be  able to display a table of  with just First Name, Last Name, phone, e-mail, Title

The dataTable object - is there any option to create an editable grid?