Add Capability to Define the Entry Point of the Application

Add Capability to Define the Entry Point of the Application


The entry point can be specified in the obclient.properties file.

Eclipse

In Eclipse look for obclient.properties and specify the entry point as the main page, althout it can be the login page too.

Add Generation.Custom.EntryView=view.Main


In this example, the entry point is:

Templates/App/gen/app/View/Main.js.atp.


Then run the Application Generator:


When the application is running do the following:

  1. Click on Application Settings and then click Apply:

  2. Click on Application Template, select Gen Folder, and Generate Application. Wait for the message that all was generated successfully:

Now right click and refresh the web project:


Run tomcat server:



Test Changes

When the HSYNC application runs note that the Main page is the entry point:



    • Related Articles

    • Define Dictionary

      Define is used to set directives in WebClient.properties file. Below is the list of available define that can be used in WebClient.properties file. Define.WCTHEME= The value can be either claro or flat theme. If it is not set, tundra theme will be ...
    • Calling WebClient from an External Application

      This section demonstrates how to pass a parameter to WebClient function. The following example is based on wxpcourse60 model calling the function WXwF, which prompts the user to insert an item record. The first step is to create a URL which calls the ...
    • Dashboard Metrics Application View

      This document will cover the basics of the CM evolveIT Dashboard Metrix. There will be a discussion of the different views available in the dashboard metrics.   After completing this document, you should have a basic understanding of the CM evolveIT ...
    • Application Deployment with Android Devices

      The following steps assume you have already created a WebClient Mobile application. The process describes the steps to perform the installation of Cordova/PhoneGap, adding the necessary plugins, configure the application launch, create and setup the ...
    • Implement Abilities to Control the Code Generation Process to Control the Application Behavior

      CustomFormButtons.inc is a good example to exemplify the addition of custom code within the test application presented in this document. In this example, we will be adding a button to navigate to a specific form ‘Supplier Info’. Adding the custom ...