+ Start a Discussion
palak jain 4palak jain 4 

I am trying to pass a record id to the apex controller class.Getting "record id not found error".Although when implementing an alert,I am getting the record id as an alert message.Please advise.

vikas rathi91vikas rathi91
Use this One I thing You will get success 
PageReference('/apex/PageName?Id='+IdName');