geliz zhang
Posts: 0
Joined: Fri Jul 18, 2014 1:22 am

How to load a page using Javascript instead of selecting

How to load a page using Javascript instead of selecting event type in designer? I assume there is some function to load a certain page or dialog but can't find it.

geliz zhang
Posts: 0
Joined: Fri Jul 18, 2014 1:22 am

How to load a page using Javascript instead of selecting

I got it. Appery.navigateTo('menuPage', {});

Then, any way to launch a dialog?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to load a page using Javascript instead of selecting

Hi Geliz,

Yes you are right.

To load certain page you can use JS code:

pre

//Note you need to replace "pageName" with your page name.
Apperyio.navigateTo("pageName", {});

/pre

To load certain dialog page you can use JS code:

pre

//Note you need to replace "dialogPageName" with your dialog page name.
Apperyio.navigateTo("dialogPageName", {});

/pre

So as you can see - the code for both cases are the same.

Regards.

Return to “Issues”