function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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');