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
akarwaakarwa 

Pass recordSet to Visual force page by Javascript

Hi

 

I have created a custom list button which opens the VF page associatede with it and and I get the handle of selected records in the new VF page using StandardSetController which works fine. But the requirement is that the VF page should open up in the new window, not in same window. How to do that?

One way i did was by using javascript openWindow and pass the VF page URL, but the problem is that I am not able to get the handle of the selected records in the VF page.

 

What is the best way to pass the selected records to Visual force page using javascript.? or is there any alternate way to open up the VF page in new window

 

Thanks in Advance