Applying the Component Controller Template
Use
You apply the component controller template to make it easier to trigger the query when editing the code. Applying the component controller template generates the context nodes, supply functions, member variables, and custom method that are necessary to trigger the methods. This makes it easier to trigger the query method of the service component that you modeled earlier and to bind it to the respective context node.
Procedure
-
In the UI Explorer , under , in the context menu of Component Controller , choose
-
Choose the Mobile Service Component template and choose Next .
-
Choose New… , leave the default Name as it is, and choose OK .
-
Choose Next .
-
Mark the checkbox for OrderService and choose Finish .
For more information, see Applying Controller Templates .

