• saravana kumar 106
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
<apex:commandButton value="Save & New" action="{!recordSaveandNew}"></apex:commandButton>

public PageReference recordSaveandNew()
            {   
                convertLeadRecord();
                //this code will redirect to home page but i need to redirect new lead page
                PageReference pg =new PageReference(Url.getSalesforceBaseUrl().toExternalForm());
                return pg;
            }
<apex:commandButton value="Save & New" action="{!recordSaveandNew}"></apex:commandButton>

public PageReference recordSaveandNew()
            {   
                convertLeadRecord();
                //this code will redirect to home page but i need to redirect new lead page
                PageReference pg =new PageReference(Url.getSalesforceBaseUrl().toExternalForm());
                return pg;
            }

Hi 

 

i have a vf page for contacts and with the winter 12 release we have social contacts with contacts objects and how do i link these social contacts with my vf page .

 

thank you,

Akhil

  • January 24, 2012
  • Like
  • 0