Skip to content

Configuration Parameters

Overview

To address issues related to different deployment environments and software dependency calls, the platform extracts configurable content as system configurations. By modifying these configurations, administrators can quickly adjust configuration data and rapidly switch system dependencies.

Storage

Configuration of system file storage paths and rules

Parameter Description

idNameDescription
textindex.homePathFull-text Search Storage Root PathDirectory where the system's search engine module stores dictionary files
app.backup.homePathAPP Backup PathWhen an application is deleted, the system automatically backs up application configuration information to this path
fileservice.homePathLocal File Storage Root PathRoot path for local file storage
system.companyDbIndexTeam Data Storage Database IndexBusiness database index. Changes only affect teams created afterward; previously created teams continue to store data according to their original index

Additional Notes

  • To improve access speed, files accessed by users (account avatars, application materials, website resources, data table attachments, etc.) are temporarily stored on the server, with the Local File Storage Root Path as the root directory.

SystemHook Configuration

Used for single sign-on functionality. For more detailed usage scenarios, please refer to the documentation Single Sign-On

Parameter Description

idNameDescription
system.systemHookApplicationIdSystem Hook Application IDConfigure the application ID where system hook scripts are stored
system.systemHookDbIndexDatabase Index for the Team to Which the System Hook Application BelongsThe Team Data Storage Database Index of the team to which the application belongs
system.systemHookApplicationScriptSystem Hook Script PathPath to the script, using a relative path. For example, if stored in systemhook.js at the root directory, configure as systemhook.js
system.systemHookLoginFuncTrigger Function When Logging in on Informat PageTriggered after users enter their account and password on the Informat login page and click login
system.systemHookLogoutFuncTrigger Function When Logging out on Informat PageTriggered when users log out on the Informat login page
system.systemHookSsoFuncTrigger Function When SSO Login is Initiated from Third-party PagesTriggered after third-party pages request the Informat SSO service address
system.systemHookBeforeInvokeFuncTrigger Function Before Calling biz System ServicesTriggered before calling biz system services
system.systemHookAfterInvokeFuncTrigger Function After Calling biz System ServicesTriggered after calling biz system services

Login and Resources

Parameter Description

NameDescription
Homepage AddressWeb service address.
Prefix for links sent in system email notifications
Prefix for links that can be opened when the system sends WeChat notifications
Login AddressAuthorization address to jump to when user login information expires
Resource AddressStatic resource loading address
API AddressService address for system page API requests
System Dynamic Routing ModeRouting mode used by the system web site, options:
hash: Uses URL hash values for routing, supports all browsers including those that do not support HTML5 History API.
history: Depends on HTML5 History API and server configuration
Token Expiration SecondsAny system operation will update the token validity period. If there is no operation for the configured number of seconds, the token will expire; default is 3 days
System Login Page TitleDisplayed in the browser tab. If not set, the system default title is used
System Login Page Background ImageIf not set, the system default background image is used
System Login Page Company LOGOIf not set, no logo is displayed
System Login Page Description TextDisplayed at the bottom of the login box, supports rich text

Additional Notes on Login Address

If not filled, the system default jump logic is used

Example:

js
https://next.informat.cn/sso/redirect?ticket=xxx&redirectUrl=https%3A%2F%2Fnext.informat.cn%2Fsso%2Flogin%3FrdUrl%3D{rdUrl}%26logintType%3D{tokenType}

After configuration is enabled, it will automatically jump to this address when authentication information expires in the following situations:

  • User login expires within the platform
  • User logs out within the platform
  • User accesses the system login page

URL Address Description

  • The filled value must be a correct URL address.
  • The system can carry dynamic parameters
  • Redirect address: {rdUrl}. After authentication failure, the frontend will replace this parameter with the link to the page where the user is currently located
  • Login type: {tokenType}. After authentication failure, the frontend will replace this parameter with the current user's login type. Login type range: (index, mobile)

Additional Notes on Resource Address

Additional Notes on API Address

  • If not filled, the current address bar domain name and port are used by default
  • After configuration is enabled, the specified address will be used directly.
  • After configuration is enabled, it is important to enable CORS settings to allow cross-origin requests.

Password Rules

After configuring password rules, users must comply with these rules when setting passwords to save successfully.

Parameter Description

NameDescription
Password Rule Regular Expression^(?=.[a-z])(?=.[A-Z])(?=.*\d)[A-Za-z\d]{8,20}$
Password Rule DescriptionExample: Password must contain at least 1 uppercase letter, 1 lowercase letter, and 1 number, with a length of 8-20 characters, allowing only uppercase and lowercase letters and numbers
Password Force Update Time (Days)Number of days after which passwords must be forcibly updated, e.g., 365 days

File Preview Service

Used for OFFICE file preview, editing, and other functions

Parameter Description

NameDescription
Office File Preview MethodSet the type of office file preview service. Option value: onlyoffice
Office File Preview AddressSet the office file preview service address, e.g., http://{external IP}:9002/
Office File Preview Host WhitelistSet the host IP or domain name that can call the file preview service, separated by English commas

File Shared Storage

Used for file sharing storage operations such as uploading and editing avatars, application LOGOs, and attachment fields

Parameter Description

NameDescription
Amazon S3 Access KeyAmazon S3 access key
Amazon S3 Bucket NameBucket name must be at least 3 characters and no more than 63 characters
Amazon S3 EndPointNetwork address used to access the S3 service. The default Minio EndPoint address for default installations is: http://127.0.0.1:19000
Amazon S3 Region InformationPhysical location where bucket data is stored
Amazon S3 SecretKeyPart of the authentication credentials used to access and manage S3 resources. Together with the "Access Key ID", it forms the security credentials for accessing AWS resources
Amazon S3 Client Maximum Http ConnectionsSet the maximum number of HTTP concurrent connections to optimize upload and download performance
File Type WhitelistMultiple types separated by commas, e.g., .jpeg,.png (If a whitelist is set, files not in the whitelist cannot be uploaded)
File Type BlacklistMultiple types separated by commas, e.g., .exe,.bat (If a blacklist is set, files in the blacklist cannot be uploaded)
Maximum Upload File SizeUnit: MB

File Storage Configuration Based on Amazon S3

When the platform is deployed, it comes with a Minio file storage service installed, which is an Amazon S3-compatible file storage. Minio Chinese Site ,Minio English Site

Other object storage services based on the S3 protocol are also supported, such as Tencent Cloud Object Storage COS, Alibaba Cloud Object Storage OSS, and Huawei Cloud Object Storage OBS.

Tencent Cloud Object Storage COS Configuration Example:

    1. Open Tencent Cloud COS Management Console
    1. Create a bucket and obtain the bucket name and region
    1. Create API key "Access Management >> Access Key >> API Key Management" to get SecretId and SecretKey
    1. In the Informat backend "System Information >> Parameter Settings"

Information obtained from the first 3 steps:

idDescription
Bucket Nameinformat2-uat-1251341307
RegionGuangzhou (China) (ap-guangzhou)
SecretIdAKIDpuv88tTt52kDR3BjUDhqoY3MJ1UCy0tX
SecretKeyjHeni3r55rJjnVzSokV3QdePveBUch9X

Alibaba Cloud Object Storage OSS Configuration Example:

    1. Open Alibaba Cloud OSS Management Console
    1. Create a bucket and obtain the bucket name and region
    1. Create API key "AccessKey Management >> AccessKey" to get AccessKey Id and AccessKey Secret
    1. In the Informat backend "System Information >> Parameter Settings"

Information obtained from the first 3 steps:

idDescription
Bucket Nameinformat2-uat
AccessKey IdLTAI5tN65CnzhRxCoJx2Crpj
AccessKey SecretXH0J2MPcyf1NQht1tQKOro9mpamdWn

TIP

Endpoint needs to distinguish between internal and external networks. Be sure to use the internal network address, such as https://oss-cn-hangzhou-internal.aliyuncs.com (needs to include https://)

Huawei Cloud Object Storage OBS Configuration Example:

    1. Open Huawei Cloud OBS Management Console
    1. Create a bucket and obtain the bucket name and Endpoint
    1. Create API key "My Credentials >> Access Keys", download credentials.csv to get Access Key Id and Secret Access Key
    1. In the Informat backend "System Information >> Parameter Settings"

Information obtained from the first 3 steps:

idDescription
Bucket Nameinformat2-uat
Access Key IdBU2QQXQ8X1EVBGPPTUPX
Secret Access KeyUTN32FWwMwqi1KMKaq4dhlfgx41ouEheeIzt2iVX

Data Table

Used for data table-related configurations

Parameter Description

NameDescription
Text Watermark Font NameDefault font is SimSun

Map Service

Used for data table geographic location coordinates fields to open maps for coordinate selection and map view display records. Currently only supports Amap

Parameter Description

NameDescription
Amap APPKEYAmap JSAPI application KEY
Amap Security KeyKeys applied after December 2, 2021 need to be used with your security key
Amap Proxy Server Domain or AddressSetting a proxy server domain or address can effectively prevent leakage of Amap APPKEY and Amap Security Key

Additional Notes

  • The platform internally loads the Amap JSAPI synchronously. If Amap Proxy Server Domain or Address is configured, it prioritizes using the proxy for loading; otherwise, it uses the Amap Security Key for loading
  • Amap-related configurations can be obtained through the Application Management Center application
  • The service platform for application application must be Web (JSAPI)
  • Application Key, Secret, and JSAPI proxy can be referenced

AI

Used for AI-related functions in the system such as data table field configuration AI queries and form-based AI queries

Parameter Description

NameDescription
Enable AIAfter enabling, the platform supports AI-related functions
AI Service AddressFor OpenAI, enter https://api.openai.com. For proxy servers, configure the proxy server Chat interface URL
OpenAI chatGPT Interface API KeyOpenAI cahtGPT interface API key
AI ChatCompletions Interface AddressDefault value: https://api.openai.com/v1/chat/completions
AI Model NameDefault value: gpt-4o

TIP

The chatGPT interface URL https://api.openai.com can be a proxy server address without /v1/chat/completions

Git

Used for Git-related functions

Parameter Description

NameDescription
Git Command PathPath where Git is installed on the server, e.g., /usr/bin/git

Node

Used for Node-related functions

Parameter Description

NameDescription
Node Command LinePath where Node is installed on the server, e.g., /usr/local/bin/node
Node Module PathUsed for compiling component designer components, e.g., /informat-next
Npm Command LinePath where NPM is installed on the server, e.g., /usr/local/bin/npm
NPM Proxy URLAfter configuration, all requests made through NPM will be routed through this proxy server
Enable NPMWhether to enable NPM. If enabled, scripts can use npm package management

Monitoring

Used for Informat service monitoring and other related functions

Parameter Description

NameDescription
Server Monitoring AddressDeployed server monitoring address

Application Market

Parameter Description

NameDescription
Application Market TypeDisable; External source address; Default
Application Market Public AccessCan be enabled to allow third parties to download applications from the application market
Application Market External SourceCan configure the Informat official website application market source address: https://next.informat.cn/account/market/apps