Yurii
From the description on this thread I think have similar problems.
In my app (http://appery.io/app/mobile-frame?src...) I have a template handling a panel menu. If I click specific option in this menu ("Cumpleaños" in my example), I show a hidden text and two buttons. When clicking on Confirm button ("Siii!" in my example) a JS is executed, showing an alert and then executing a service called birthday_poll. Both The JS and the datasource-service mapping are defined at template level.
I Save and Test.
From any of the pages created from the Template, I open the panel menu (button on the top left corner), follow all the steps descripbed above and verify the behaviour in the console logs. What I see is
Uncaught ReferenceError: birthday_poll is not defined
How shall I proceed?
Shall I define the datasource-service mapping at template level before creating template-based pages?
Shall I define the datasource-service mapping at page level (I have several template-based pages)?
Thank you in advance!
Carlota F: