If a specific collection protocol doesn’t have the JSON workflow, then the mobile app uses its default configuration.
List View Configuration
To configure the mobile app list view add the below code after the dictionary in the JSON workflow of the collection protocol used in the mobile app. You can configure the standard as well as custom fields on the list view.
If the list view is not configured, then the mobile app uses its default list view configuration.
Configure Server URL
Use Case1: If logging in to the app for the first time.
Download and install the app.
Click on the ‘Change Server’ option to configure the server URL. Enter the URL of the server which you want to access. Make sure you enter slash correctly while configuring the URL.
Use Case2: If logging into the app after configuring a server URL and accessing a different server. E.g., You have configured the production server in the mobile app, and you wish to view any data from the test server. In this case, you have to follow the below steps and configure the test server URL.
Log in to the app with configured server credentials(Username/Password).
Click on three bars beside the 'Collection Protocol' header.
Click on the 'Settings' options shown in the 2nd image.
Enter the URL of the server which you want to access. Make sure you enter slash correctly while configuring the URL.
The user login, data access, security, audit, configuration, etc., work the same way in mobile and web apps.
Configuration Scanner For Participant, Visit, And Specimens
Add below code along with the PPID, Visit Name, Specimen Label fields for scanning feature.
"allowScanner" : true
Whenever you make any changes within the CP workflow, attached forms, or any JSON configuration. It doesn’t reflect right away in the mobile app. You need to clear the cache so that the changes will reflect in the mobile app.
E.g., Hiding fields, attaching different forms at a different level and configuring list view.
Note: To use this feature, you have to be in the network.