• Tao
  • NEWBIE
  • 0 Points
  • Member since 2012


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 5
    Replies
I cleared the requirements of PDII certification,
I have completed all 4 super badges 2 years ago, and passed PDII exam 2 days ago.
but the certification still not arrive yet.
I have submitted a case to ask about it, but getting ignored.(support team replied all my other cases which I submitted after that)

I see some ppl had same problem, but they got their certification at last but didnt say how they got it.

anybody knows what s going on? I just wait for more time? or what else should I to get the certification?
  • February 16, 2021
  • Like
  • 0

It seems like some problems happend in sosl...

A few days ago, a salesforce internal error occured when searching account with Name and Phone field by sosl. And It disappeared after 10 minutes.

And Now, I search account like this:

            tempTelNo2 = '03*';
            tempTelNo3 = '03%';
                FIND
                    :tempTelNo2
                IN
                    Phone FIELDS
                RETURNING
                    Account(Id
                        WHERE
                            TELNO1__c LIKE :tempTelNo3
                            OR TELNO2__c LIKE :tempTelNo3
                            OR ContactorTel__c LIKE :tempTelNo3
                            OR MobileTEL__c LIKE :tempTelNo3
                            OR OtherTelNo__c LIKE :tempTelNo3
                    ),
                    Contact(AccountId
                        WHERE
                            Phone LIKE :tempTelNo3
                            OR MobilePhone LIKE :tempTelNo3
                            OR Phone2__c LIKE :tempTelNo3
                    )
                LIMIT :limitTemp

There should be more 100000 records.
But I got only 4 records.
This just happened in AP.
It does not happen in Sendbox(CS06).
Any one knows why?...

  • March 08, 2013
  • Like
  • 0

When I use sforce.console.openPrimaryTab in the custom button(list button), I got a error: 'caller is undefined'.

My javascript code:

    ---------------------------------------------------------------------------------------------
    {!REQUIRESCRIPT("/support/console/25.0/integration.js")}

    sforce.console.openPrimaryTab(
        null,
        'www.google.com',
        true,
        'My tab name'
    );
    ---------------------------------------------------------------------------------------------



But when I use it in the visual force page, the error does not appear:

    ---------------------------------------------------------------------------------------------
    <apex:includeScript value="/support/console/25.0/integration.js"/>

    <script type="text/javascript">
    function toExistContact(url,tabName){
        sforce.console.openPrimaryTab(
            null,
            url,
            true,
            tabName
        );
    }
    </script>
    ---------------------------------------------------------------------------------------------

Anyone tell my why?.....

  • August 27, 2012
  • Like
  • 0

Code in vf page:
            ----------------------------------------------------------
            <apex:page controller="MyController">
            ......

            <apex:pageBlockTable
                value="{!myObjectList}"
                var="myObject"
                width="100%"
            >
                <apex:column >
                       <apex:commandLink value="OK"
                           action="{!ActionMethod}"
                           oncomplete="javascript&colon;
                               alert('{!myObject.Id}');
                           "
                       />
                </apex:column>

                ......

            </apex:pageBlockTable>

            ......
            ----------------------------------------------------------

then I got a compile error: Unknown property 'MyController.myObject'

But, if I change "oncomplete" to "onclick", this error does not appear.
Why ?...

  • August 27, 2012
  • Like
  • 0
I cleared the requirements of PDII certification,
I have completed all 4 super badges 2 years ago, and passed PDII exam 2 days ago.
but the certification still not arrive yet.
I have submitted a case to ask about it, but getting ignored.(support team replied all my other cases which I submitted after that)

I see some ppl had same problem, but they got their certification at last but didnt say how they got it.

anybody knows what s going on? I just wait for more time? or what else should I to get the certification?
  • February 16, 2021
  • Like
  • 0

It seems like some problems happend in sosl...

A few days ago, a salesforce internal error occured when searching account with Name and Phone field by sosl. And It disappeared after 10 minutes.

And Now, I search account like this:

            tempTelNo2 = '03*';
            tempTelNo3 = '03%';
                FIND
                    :tempTelNo2
                IN
                    Phone FIELDS
                RETURNING
                    Account(Id
                        WHERE
                            TELNO1__c LIKE :tempTelNo3
                            OR TELNO2__c LIKE :tempTelNo3
                            OR ContactorTel__c LIKE :tempTelNo3
                            OR MobileTEL__c LIKE :tempTelNo3
                            OR OtherTelNo__c LIKE :tempTelNo3
                    ),
                    Contact(AccountId
                        WHERE
                            Phone LIKE :tempTelNo3
                            OR MobilePhone LIKE :tempTelNo3
                            OR Phone2__c LIKE :tempTelNo3
                    )
                LIMIT :limitTemp

There should be more 100000 records.
But I got only 4 records.
This just happened in AP.
It does not happen in Sendbox(CS06).
Any one knows why?...

  • March 08, 2013
  • Like
  • 0

From the Case object, we have a custom button that creates an RMA with case and account information filled in and then opens the new RMA record. It works fine in the normal salesforce.com.

 

In the Service Cloud Console, we have Accounts, Cases, and RMA's. If we create new Cases or new RMA's from the Account, the new records get create in new subtabs to the account.

 

But if we launch our CaseToRMA page from the case in a Service Cloud Console subtab, it results in a whole new instance of saleforce.com running in the original case tab. What we want is for the new RMA to open in a new subtab under the account and to leave the case open.

 

CasetoRMA class

 

public class CaseToRMA {
    public Case c {get; set;}
    public RMA__c rma {get; set;}
public CaseToRMA () { c = [ select c.Id, c.CaseNumber, c.Account.ShippingCountry, c.Account.ShippingPostalCode, c.Account.ShippingState, c.Account.ShippingCity, c.Account.ShippingStreet, c.Account.Name, c.AccountId from Case c where id = : apexPages.currentPage().getParameters().get('id')];
List<Settings__c> cs = [ select RMA_Warehouse__c from Settings__c]; RMA__c rma = new RMA__c( ZipPostalCode__c = c.Account.ShippingPostalCode, Warehouse__c = (cs.size() > 0) ? cs[0].RMA_Warehouse__c : null, Street__c = c.Account.ShippingStreet, StreetTextArea__c = c.Account.ShippingStreet, RMADate__c = system.today(), Country__c = c.Account.ShippingCountry, City__c = c.Account.ShippingCity, Case__c = c.Id, Account__c = c.AccountId, AccountName__c = c.Account.Name, Reference__c = c.CaseNumber); }

public PageReference NewRMA() {
insert rma;
return new PageReference('/' + rma.id);
}

 

 

 

 VisualForce Page

<!-- Old way -->
<apex:page controller="CaseToRMA" action="{!newRMA}" >
<!-- Attempt at opening in a new tab
<apex:page controller="CaseToRMA" action="{!newRMA}" >
    <apex:includeScript value="/support/console/20.0/integration.js"/>
    <script type="text/javascript">
        function init() {
                //First find the ID of the primary tab to put the new subtab in
            sforce.console.getEnclosingPrimaryTabId(openSubtab);
        }
        var openSubtab = function openSubtab(result) {
                //Now that we've got the primary tab ID, we can open a new subtab in it
            var primaryTabId = result.id;
            sforce.console.openSubtab(primaryTabId , '/' + rma.id, false,
                rma.Name, null, null);
        };
    </script>
    <body onLoad="Init()"/>
-->
</apex:page>

 If someone has a working example of this, it would be great.