JSON Sample Configuration
JSON Sample Configuration

JSON Sample Configuration

The following JSON configuration sample may be contained in a file or in a JSON structure sent as an extra as described in Starting the Profile Client with Configuration.
{ "customer_id": "3001", "sfs_url": "https://< PFM_server.com >", "site_id": 5000, "log_level": "debug", "confirm_role":true, "power_connected_logout":false, "log_file": false, "dnd_switch":true "config_settings":0, "disable_signout_btn_bluefletch":false, "supress_network_disconnect_bar":true, "secret_key": "my_secret_key", "key_user_name":"userNameInput", "key_user_pwd":"passwordInput", "key_submit":"submitButton", "key_domain":"pttpro", "username_layout":"usernamelayout", "password_layout":"passwordlayout", "max_tryouts_for_finding_user":20, "proxy_url":" ", "proxy_url_api_key":" ", "force_login_after_os_kill":false, }
Table 2 describes the valid JSON elements.
JSON Configuration Variables for the WFC Profile Client
Label
Description
Type
Default
Config via UI
customer_id
Maps to the Profile Manager’s Tenant ID provided by system administrator.
string
null
Yes
sfs_url
The FQDN of the Profile Manager secure web socket connection provided by system administrator.
string
null
Yes
site_id
site_id
value is correlated in Extension Manager’s Store ID value. Upon match, it aligns the group of extensions available to the user based on the roles configured.
string
null
Yes
log_level
Log options are:
  • Info (default)
  • Debug
  • Warning
  • Error
  • Verbose.
string
info
Yes
confirm_role
When set to
True
, the user is prompted to confirm the selected roles.
Boolean
TRUE
Yes
power_connected_logout
When enabled, signs out the Profile Client user , when device is put in cradle for charging.
Boolean
FALSE
Yes
log_file
Enable application to record logs and store on the device at the following location:
  • /sdcard/Android/data/com.zebra.dfs/files/DFS/ for WPC Version 2.0.21200 and above.
  • /sdcard/DFS in A11
  • /sdcard/DFS/ for all other versions.
Boolean
FALSE
Yes
dnd_switch
Allows the user to display/remove the
dnd_switch
in Profile Client.
Boolean
TRUE
No
config_settings
Configures the settings menu visibility:
  • 0 = (default) Setting Menu is visible and editable.
  • 1 = Setting Menu is visible but not editable.
  • 2 = Setting Menu is not visible.
integer
0
No
disable_signout_btn_bluefletch
Configures whether the
Sign Out
button is visible when the auth type is BlueFletch.
  • false
    = (default)
    Sign Out
    button is visible.
  • true
    =
    Sign Out
    button is not visible.
Boolean
FALSE
No
supress_network_disconnect_bar
Configures whether the network disconnect bar is visible at the bottom of the screen during a network disconnection.
  • true
    = (default) Network disconnect bar is not visible.
  • false
    = Network disconnect bar is visible.
Boolean
TRUE
No
secret_key
Key used to decrypt the login blob delivered from the launcher app through intent to the Profile Client.
string
null
key_user_name
Used with third-party launcher apps. This tag identifies the Username ID field and allows input on the current login web page. Sample HTML: <input type="
text
" name="
username
" id="
username
" class="textinput" value="">
string
null
No
key_user_pwd
Used with third-party launcher amax_tryouts_for_finding_user apps. This tag identifies the Password ID field and provides input on the current login web page. Sample HTML <input type="
password
" name="
password
" id="password" class="textinput" autocomplete="off">.
string
null
No
key_submit
Used with third-party launcher apps. This tag identifies the Submit ID field for acceptance of credentials on the current login web page. Sample.html: <input type=" submitButton" value="Login" id="submit" class="submit" tabindex="4" role="button" >
string
null
No
key_domain
Used in conjunction with third-party launcher apps. This tag inserts a Domain name string to add before the username. The slash separators are automatically added. For example: "pttpro" becomes "pttpro\\<username>"
string
null
No
username_layout
Used to configure the user name field of the customized EKB layout in EC30 devices. May require change if the layout encryption file uses a different name in the future.
string
usernamelayout
No
password_layout
Used to configure the password field of the customized EKB layout in EC30 devices. May require change if the layout encryption file uses a different name in the future.
string
passwordlayout
No
max_tryouts_for_finding_user
The pop-up is displayed for the maximum time, even if the user does not belong to the respective department while applying the WFC PTT Pro role.
integer
20
No
proxy_url
The Proxy URL is used to configure the Proxy PFM when the environment is a multi- PFM instance or device enrollment is required.
String
“”
Yes
proxy_url_api_key
The API key for Proxy PFM URL.
String
“”
No
force_login_after_os_kill
Re-login automatically if Profile Client is re-started.
Boolean
FALSE
No
store_ro_property
The RO property is read to retrieve the store from the device at the time of enrolling when the store is not passed.
string
"dhcp.wlan0.domain"
No
store_regex_pattern
The regex pattern is used to retrieve the store from the RO property value.
string
"\\d{4}"
No
store_regex_index
The index within the group is searched for regex and matched with the store_regex_pattern value.
string
“0”
No
store_regex_group
The index is used to search the group for regex and match it with the store_regex_pattern value.
string
“0”
No
proxy_pfm_timeout_in_sec
The proxy server timeout for proxy rest API is called for enrolling in seconds.
integer
180
No