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
JTecJTec 

Can i open a page from a sControl?

I have developed a new Apex/page but, how can I open this new page by a buttom?? From a sControl???

Thanks
Regrads
Ron HessRon Hess
what type of button ?

if you use a button the opens a url, i believe you can just access the page by name

/apex/mypagename


if in javascript, this should work

window.location.href = '/apex/mypagename';


same from scontrol.