Customizing an ACP server

For an ACP server, there are some optional configuration settings.

The acpConfig.json file

  • For those with an ACP Server license, some configuration settings can be set with switches in acpconfig.json, located in the ACP\ui\build\ directory. Some of the settings in this file are for test purposes and will be removed in the future.

Authentication

"authenticationMethod": "firebase", or authenticationMethod": "apacheWindows". Usually you would not change this.

Enable/disable Email Invites

"emailInvitesEnabled": "yes", "emailInvitesEnabled": "no". On an Acp Server using Apache authentication the Email Invite button is hidden by default. If the server has access to the internet and to email, this can be enabled.

Hide/Show the sign out Menu

"showSignOutMenuItems": "yes", "showSignOutMenuItems": "no".

  • With apache authentication, don't show the sign out option because it doesn't work (you don't sign in to ACP - rather you sign in to Apache). Setting this to "no" will hide the sign out menu on the model listing GUI. When playing a model the the sign out menu will be present, but will not contain the "Sign out of ACP" item.

userIdsAreEmailAddresses

"userIdsAreEmailAddresses": "yes", "userIdsAreEmailAddresses": "no". This is a temporary switch for test purposes. Apache doesn't use treat logins as addresses, but as user names. If using Apache authentication set this to "no" (even if the user name is an email address), for firebase authentication this is set to "yes".

usersCanResetPasswords

"usersCanResetPasswords": "yes", "usersCanResetPasswords": "no". With apache authentication, users can't reset their passwords via the acp ui. It needs to be done by someone with access to the server or to the active directory. So you can hide the option to change user passwords in the Account tab.

"showAddAcpStyleLibrary": true,

 // another temporary flag for use in dev and testing for copy/download table
 "showCopyTableBtn": true,
 "numberSuanServers": 3, // initally only values of 1 and 3 are supported
 "reviewersCanUploadDataFiles": true, // allows reviewers to upload spreadsheets, csv and text files, but not model files
 "EW1367_show_cube_when_closing": true,
 "EW1411_show_cube_on_graph_rendering": true,
 "EW1405_choice_filtering_in_tables": true,
 "EW1444_reconnect_when_web_socket_is_closed": true,
 "EW1484_max_num_table_cells": 5000, // the value is the number of cells to display
 "EW1463_choice_filter_on_choice_input_nodes": true,
 "EW1474_uploadable_files": [ "ana", "xlsx", "xls", "csv", "txt" ],
 "EW1477_uncertainty_context_menu": true,
 "EW1518_allow_model_download":  true

File uploading

""EW1474_uploadable_files": [ "ana", "xlsx", "xls", "csv", "txt" ].

  • For those with an ACP Server license, the permissible upload file types can be set by editing the list in ACP\ui\build\acpConfig.json. For instance, if you need to use spreadsheets with Macros you could add *.xlsm to the list.
  • The default following file types can be uploaded from the GUI - applies to Lumina's pubic ACP server at acp.analytica.com.

*.ana, *.xlsx, *.xls, *.txt and *.csv

Table cell truncation

  • ACP will only show this number of cells in a table - to speed up the rendering time for the table. If you have an ACP Server, you can

edit this line in the file. If you set the number to -1 and the table truncation will be disabled. "EW1461_max_num_table_cells": 5000, // the value is the number of cells to display (or minus one to turn off this feature)

See also

Comments


You are not allowed to post comments.