+ Start a Discussion
Narinder Singh 1Narinder Singh 1 

Configure Start page for a multi page hybrid app using Mobile SDK

I have created a hybrid app using Mobile SDK. For some reason, I need to split the pages into separate HTML files. Now, when I run my app, I am only seeing one file being loaded but it's not the one which loads other pages.

Is it possible to specify the app home page/ first load page somewhere in the hybrid app tempalte?
Best Answer chosen by Narinder Singh 1
Gaurav KheterpalGaurav Kheterpal
There is a property called startPage in bootconfig.json in your project. This specifies what is the start page for your project.

You can specify something like
 
"startPage": "myappHomePage.html",
Then you can redirect control to other HTML pages in your app as necessary.

If my answer helps resolve your query, please mark it as the 'Best Answer' to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Developer Forums Moderator| Dreamforce Speaker