Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add description of Import Connections screen

...

Once the Profound UI app is installed, run it and you will be presented with a screen like this:

Image Removed

Click "Create Image Added

At this point, you have two options for defining connections to servers.

Option 1: Manually define a connection

Tap the "New Connection" button to create a connection to your IBM i server.  You will be presented with a screen like this:

...

Once you've entered your settings, click "Save" to save them.  Once you've done that, when you open the Profound UI mobile app, you will be able to select your server from the list, and it will connect and run the program that was configured in the Visual Designer.

Option 2: Import a predefined set of connections

The Profound UI mobile client has the ability to import a list of connections from a server, to save you the time of manually entering them. For this to work, a JSON file containing the appropriate data needs to exist on the server, at IFS location /www/YOUR-INSTANCE/htdocs/profoundui/userdata/js/mobile_config.json.

To import connections, tap the "Import Connections" button on the connections screen. A screen like this will appear:

Image Added

Server: This is the host name or IP address that will be used to connect to your IBM i server.

Port: This should be the port number that you installed Profound UI on – 8080 is the default value, but when you install Profound UI on your IBM i server, you can choose another port number if desired.  Make sure this matches the number you used when installing the IBM i server side of Profound UI.

Once you've entered the settings, tap the "Import" button. The mobile client will connect to the server and import the predefined connection definitions, then you will be returned to the connections screen, with the imported connections displayed:

Image Added

You will now be able to select your server from the list, and it will connect and run the program that was configured in the Visual Designer.

Configuring a predefined list of connections on the server

The connection information that can be imported by the mobile client exists as data in a JSON file. The file must be named mobile_config.json and placed in IFS directory /www/YOUR-INSTANCE/htdocs/profoundui/userdata/js/. It should contain, as JSON properties, the same items used when manually defining a connection. Below is the import file used by the above screenshot:

 

Code Block
languagejavascript
[
  {
    "name": "Acme, Inc.",
    "host": "www.your-ibmi.com",
    "port": "8080",
    "ssl": false,
    "parm": "",
    "offline": false
  },
  {
    "name": "XYZ Company",
    "host": "www.their-ibmi.com",
    "port": "8080",
    "ssl": false,
    "parm": "",
    "offline": false
  }
]


Setting Up Multiple Applications in the Mobile Client

...