Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Following are the steps to create an App and to associate it to a sub workspace:

  1. In Canvas Studio, use App Designer to create the app covering the following configurations. Refer Designing Apps using App Designer for more information.
    • Type of view (like grid, chart, tree, etc.)
    • Data source
    • With or without entitlement
    • App Tools applicable
    • Action buttons, if any that needs to be added
  2. Create a JS class for the app. The app class is a simple JavaScript class that contains the listeners and handlers to manipulate the user-interaction with the app.
  3. Create the instruction class for the app. This is a simple Java class (POJO) extending a predefined framework class that provides the in-built support for decoding the request parameters in proper filters, sorts, paging, etc.This class is useful for providing extra support for the data fetching both in terms of providing correct dynamic inputs to the Data Source layer as well as manipulating the result data before sending to the device for rendering.
  4. Create necessary handlers for the app based on the functional requirement for the App. Add them to the following registries as appropriate
    • Form Listener Registry (CFLR)
    • App Button Registry (CMABR)
    • App Button Handler Registry (CMBH)
    • Context Menu Handler Registry (CMHR)
    • Cell Click Handler Factory (ICCHF)
  5. In Canvas Studio, use Workspace Designer to add the app to the Workspace and indicate its position in the Sub Workspace. Refer Designing Workspaces using Workspace Designer for more information.


  • No labels