Let's follow up this discussion at the Neptune Community
(this forum will be kept in read-only mode)
However when I directly run the app in the IE/Chrome, I see that the control is correctly identified, so no error is prompted.
By debugging I can confirm script is executed in both cases. If I comment out the sentence, I receive the same error, but complaining about the following control.
Which is the reason of this different behaviour? Any insight, clue?
I think this article will help you :)
If it does not help, please send us some screenshots of the console errors you get in the launchpad and the lines you comment to "make it work".
Thanks for your quick response.
In first attachment you see the script (and the line) is causing the problem. The second screen shows the error console.
Am I suppossed to reference the control through the view?
for your Init script please use a ScriptCode element (from the HTML5 folder) and place your phone-specific code in the following function:
// Place your code here
This Explored sample might also be helpful https://template.neptune-software.com/neptune/sdk/explored.html#appZUI_NAD_CS_SPLITAPP. Please take a look at the oPageHidden of the sample.
We would also recommend to have a look at our latest Design Best Practice article: https://template.neptune-software.com/neptune/sdk/explored.html#doc00163EDC99661EE68FF330963E0AC377
Problem solved! Thanks a lot for your feedback.
Thanks for the update, José ! Have a nice weekend