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
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