• hikiran raju
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 1
    Replies
Hi all,
I want to integrate the authorize.net with salesforce and want to get the transcation detials in to salesforce. Can anyone help me over to store the transcation details in salesforce and how to start the code for integrating the authorize.net with salesforce.
 thanks in advance,

regards,
kiran.
Hi all,

can anyone let how we can retrive more than  50000 records using salesforce.

Thanks in advance,
regards,
kiran.
Hi everyone,
I want to setup the Customer Portal user authentication using Force.com sites.  I have followed the instruction as below link
https://developer.salesforce.com/page/Authenticating_Users_on_Force.com_Sites
but  i'm unable to login, getting error as below.
User-added image

Can anyone help me over here.

Thanks in advance,
Regards,
raju.
Hi every one,
I have created a custom vf page with custom controller. i want to show the validation error message at the particular fields, same as standard error messages. Below is my custom controller.
public with sharing class checkController {

  public Contact con{get;set;}
 
  public Account org {get;set;}

  public Integer i {get;set;}
 
 
  public checkController(){
 
    con = new Contact();
    intake = new Intake_Coun__c();
    org = new Account();  
  }
  private string fromCharArray(list<string> l)
  {
    string res='';
    for(string s : l)
    {
      res+=s+';';
    }
    return res;
  }

public pagereference SubmitOrg()
{
    try{
         Account acc = checkAccountExist(org.Name);
        if(acc != null)
        {
          populateAccount(acc);
          acc.Submitted_Online__c=true;
          acc.Date_Submitted__c = Date.today();
          update acc;
        }
        else
        {
          org.RecordTypeId ='XXXXXXXXX';
          insert org;
          acc = org;
        }
        con.Primary_Contact__c = true;
        con.RecordTypeId='XXXXXXXXXX';
        con.AccountId=acc.Id;
        con.npe01__Preferred_Email__c = 'work';
        con = upsertContact(acc.id);
    return initRoot();
    
     }
  catch(exception ex)
  {
    return null;
  }
}
public pagereference SubmitI()
{
  try{
    Contact c  = upsertContact(null);
    if(intake.Contact__c == null)
      intake.Contact__c =  c.id;
    intake.Submitted_Online__c = true;
    intake.Date_Submitted__c = Date.today();  
    insert intake;
    return initRoot();
  }
  catch(Exception dmle)
     {
           ApexPages.addMessages(dmle);
           return null;                                   
     }

}
private void populateContact(Contact c, Contact c2)
{
    c.FirstName = c2.FirstName ;
    c.LastName = c2.LastName ;
    c.Phone = c2.Phone ;
    c.Email = c2.Email ;
    c.leadsource = c2.leadsource ;
    c.RecordTypeId = c2.RecordTypeId;
}
private void populateAccount(Account acc)
{
  acc.Name=org.Name;
  acc.Phone=org.Phone;
  acc.Fax=org.Fax;
 
}
private Contact upsertContact(string accIdToNew)
{
  Contact c = checkContactExist(con.email);
  if (c != null){
    populateContact(c,con);
    update c;
  }
  else{
    con.AccountId = accIdToNew;
    insert con;
    c= con;
  }
  return c;
}
public Pagereference initRoot()
{
  Pagereference page = Page.Root;
  page.setredirect(true);
  return page;
     }
 
}

Can any one help ome over here.

Regards,
kiran.
Hi everyone,
I have created an custom VF page with  std.object and Custom object fields. In that i have an submit button, when submit button is clicked i need to show the error messages for the fields which are mandatory if they are empty and null. How can i show the validation error message in my custom vf page. Can any one help me over here.
Thanks in advance.

Regards,
kiran.
Hi everyone,
How can we fire a trigger to create a new Event when a record is create in my custom object.
Can anyone help me over here..
 Thanks in advance

Regards,
Raju.
Hi everyone,
I want to setup the Customer Portal user authentication using Force.com sites.  I have followed the instruction as below link
https://developer.salesforce.com/page/Authenticating_Users_on_Force.com_Sites
but  i'm unable to login, getting error as below.
User-added image

Can anyone help me over here.

Thanks in advance,
Regards,
raju.