• Arc30
  • NEWBIE
  • 10 Points
  • Member since 2015
  • SE
  • Renault Nissan


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies
How cascading search is performed in account search ? 
  • August 01, 2016
  • Like
  • 0
Hi

Regarding this issue
 
  1. Create a footer console component to create an account.
  2. After saving the account , a new primary tab should be opened.
I am done with 1st step and able to save the account. I have not able to get the new account in the new primary tab. Kindly help me. I will share my code also

Class
Public Class NewAccount
{

    public NewAccount(ApexPages.StandardController controller) {

    }

Public String name{get;set;}
Public String accid{get;set;}
public NewAccount(){

}
public PageReference saveacc()
{
Account acc=new Account();
acc.name=name;
insert acc;
accid=acc.id;

 PageReference acctPage = new PageReference('/001');

        acctPage.setRedirect(true);
        return acctPage;
}
}

Page
<apex:page extensions="NewAccount" standardController="Account">
<apex:includeScript value="/support/console/30.0/integration.js"/>
<apex:includeScript value="/soap/ajax/26.0/connection.js"/>
<apex:includeScript value="/soap/ajax/26.0/apex.js"/>
<apex:form >

Name of the New Account    <apex:inputtext value="{!name}"/>
 
<apex:commandButton value="Create" action="{!saveacc}"/>


</apex:form>
</apex:page>

Please tell the issue

Archith
 
  • July 08, 2016
  • Like
  • 0
Hi

Kindly help in the following issue

When an Account is inserted/updated with Customer Type as ‘VIP’ and Status as ‘Customer’, create an offer record to provide a free service.(Please use trigger). 
Note: Please follow all coding standards(no naming conventions Eg: Trigger ByPass, Bulk Trigger etc.. )

please let me know the steps

Regards
Archith
  • July 08, 2016
  • Like
  • 0
Hi

I have the following doubts

-Create a footer console component to create an account.
-After saving the account , a new primary tab should be opened.

Could someone help me in the issue
  • June 29, 2016
  • Like
  • 0
Hi

In a contact page i need to get the country code of the given number
i have created a custom button by using on click execute java script to validate the phone number
Kindly let me know how to solve

Thanks
 
  • May 12, 2015
  • Like
  • 0
Hi

Kindly help in the following issue

When an Account is inserted/updated with Customer Type as ‘VIP’ and Status as ‘Customer’, create an offer record to provide a free service.(Please use trigger). 
Note: Please follow all coding standards(no naming conventions Eg: Trigger ByPass, Bulk Trigger etc.. )

please let me know the steps

Regards
Archith
  • July 08, 2016
  • Like
  • 0
Hi

In a contact page i need to get the country code of the given number
i have created a custom button by using on click execute java script to validate the phone number
Kindly let me know how to solve

Thanks
 
  • May 12, 2015
  • Like
  • 0