Skip to main content
Hi,

I need to redirect a page and pre-populate a Field with a value. To do that I need the Id of that field so that I can give in URL by attaching CF to that. 

I need that value using Apex code. I do not want to Hard Code it. How can I do that?

For Example :

a0n/e?CF00NJ0000001hOvc=2000452&CF00NJ0000001hOvc_lkid=a04J000000AzvddIAB

 
2 respuestas
  1. 28 feb 2015, 03:37
    Hello Bond,

    For find record id :

     

    string lkId = ''; // lkid from object above code

    string recordId = ApexPages.currentPage().getParameters().get(lkId );

    If this answers your question then hit Like and mark it as solution!

     
0/9000