COTG Timesheets - Sample Project

The COTG Timesheets Sample Project generates an entire Capture OnTheGo solution.
To start the Sample Project, select File > New > Sample Projects > COTG Timesheets from the menu.
For more detailed information about this project, and instructions on how to test and customize it, see Sample Project: COTG Timesheets.

The wizard contains the following options.

  • Workflow

    • Project folder: Select a folder. In this folder, the wizard will create two folders: Configurations and Workspace. The project's resource files are saved to the Configurations folder. The Workspace folder is meant to be used when debugging the solution (see Testing the project).

    • Host: Enter the address of the host running the Workflow server. This address will be used by the COTG app to download forms and submit data to the OL Connect Workflow service.
      The given IP address is that of the machine on which the Sample Project (i.e. the Designer) runs. The port number is 9090 since the project's Workflow configuration uses the NodeJS Server Input task, and Workflow's NodeJS Server listens on port 9090 by default.
      As long as all components (the COTG app, Workflow and Designer) run on the same computer you could use http://localhost:9090.
      If the COTG app runs on a mobile device, make sure to enter an IP address that can be reached from outside your network. Also be aware that a computer can have multiple network cards, each with their own IP address or addresses, or that it may have only an IP version 6 address, for example.

      Note: Your network setup may make it impossible for the COTG app to communicate with the OL Connect Workflow service in order to download forms and submit data. Network and firewall settings may block these requests. Please contact your local IT department for advise on how this can be resolved in your setup.

      Note: On Windows 10, built-in restrictions prevent applications from sending data to the same computer, making it impossible for the COTG app to submit form data to Workflow on the same computer. The COTG user guide explains how to change these restrictions; see COTG user guide.

    • Send Templates and resources to Workflow: Check this option to send the necessary resource files to the active Workflow instance on the local machine. Without these files the Workflow configuration can be inspected, but it cannot be tested; in order to test the configuration, you'll have to send the resources manually (see Sending files to Workflow).

      Note: Workflow has to be installed on the host in order to use this option. In addition, the PPMessenger service must be running. By default, this service is always started automatically from the moment Workflow has been installed.

  • Capture OnTheGo

    • Repository ID: Enter the ID of your Capture OnTheGo Server repository.

    • Password: Enter the password for your Capture OnTheGo Server repository.

      Tip: If you own OL Connect, free COTG trial licenses may be available to you; see http://www.captureonthego.com/en/promotion/.

    • COTG Account: Enter the email address that will be used in the COTG app to log in. The forms - the time sheets - will be sent to this account.