You can define a variable in your main page and then access it on the settings page. If you have application level data, you can just tack some state onto the app object. What I do is move the
var app = WinJS.Application line that is in the default.js by default into global scope so I can access it from anywhere,
I would like to suggest you check the solutionfor the similar issue in the following link
Not really sure if I am fully understanding what you want to do - but one simple way may be to use local storage. Save the value in yur calling process and retrieve it in the flyout.
You can define a variable in your main page and then access it on the settings page. If you have application level data, you can just tack some state onto the app object. What I do is move the
var app = WinJS.Application line that is in the default.js by default into global scope so I can access it from anywhere,
I would like to suggest you check the solutionfor the similar issue in the following link