Exment setting value list
Exment (and related libraries) can change internal settings by modifying the ".env" file in the project folder.
Setting method
Open the ".env" file from the project folder and add as follows.
※ If a key with the same name is already registered, rewrite the value.
#Example.1
EXMENT_API=false
#Example.2
EXMENT_FILTER_SEARCH_FULL=true※Please do not put a space before and after "=".
List of set values
Application language
- Setting key : APP_LOCALE
- Default value : en
- Role : The language to display in the application.
Time zone
- Setting key : APP_TIMEZONE
- Default value : UTC
- Role : The time zone used by the application. For Japan, enter "Asia / Tokyo".
"/ Admin" URL change
- Setting key : ADMIN_ROUTE_PREFIX
- Default value : admin
- Role : This is the path name when displaying Exment.
For more details, please see here.
Change "/ publicform" URI of public form
- Setting key : EXMENT_PUBLICFORM_ROUTE_PREFIX
- Default value : publicform
- Role : The pathname for displaying the public form. For details, see "Changing the public form included in the URL" here.
Enable caching
- Setting key : EXMENT_USE_CACHE
- Default value : false
- Role : If true, enable caching. Cache master data such as custom tables and columns, views, and workflows.
Depending on the environment, it may be faster.
Manual URL
- Setting key : EXMENT_MANUAL_URL
- Default value : https://exment.net/docs/#/
- Role : Set the manual URL for Exment.
Update history default value
- Setting key : EXMENT_REVISION_COUNT
- Default value : 100
- Role : The default value of the update history to be retained when saving data. It is used when creating a new table.
Composer path
- Setting key : EXMENT_COMPOSER_PATH
- Default value : (None)
- Role : The path to the composer command. Unless otherwise specified, it is assumed that the environment variable PATH is in the PATH.
MySQL path
- Setting key : EXMENT_MYSQL_BIN_DIR
- Default value : (None)
- Role : The path to the mysql command. Unless otherwise specified, it is assumed that the environment variable PATH is in the PATH.
Number of search indexes
- Setting key : EXMENT_COLUMN_INDEX_ENABLED_COUNT
- Default value : 20
- Role : The upper limit of the number of search index columns set in each table.
* Please change the set value at your own risk. The developer has not confirmed the operation with more than 21 cases.
IP that allows reverse proxy
- Setting key : ADMIN_TRUST_PROXY_IPS
- Default value : (None)
- Role : Click here for details.
Reverse proxy determination header
- Setting key : ADMIN_TRUST_PROXY_HEADERS
- Default value : (None)
- Role : Click here for details.
Disable Exment standard error handling
- Setting key : EXMENT_DISABLE_EXMENT_EXCEPTION_HANDLER
- Default value : false
- Role : Set to true to disable the error handling provided by the Exment package.
Login
Default login provider display
- Setting key : EXMENT_SHOW_DEFAULT_LOGIN_PROVIDER
- Default value : true
- Role : Toggles whether to display the login form using the Exment ID / password. The setting takes effect when using single sign-on. For more information please check here.
SSO login provider string
- Setting key : EXMENT_LOGIN_PROVIDERS
- Default value : (None)
- Role : Sets the list of provider names used by SSO, separated by commas. For more information please check here.
Login failure count measurement
- Setting key : EXMENT_THROTTLE
- Default value : true
- Role : If true, if login failures continue for a certain number of times, you will not be able to log in until a certain amount of time has passed.
Number of login failures
- Setting key : EXMENT_MAX_ATTEMPTS
- Default value : 5
- Role : The number of login failures until you cannot log in for a certain period of time.
Login failure recovery time (minutes)
- Setting key : EXMENT_DECAY_MINUTES
- Default value : 60
- Role : The time (minutes) before you can log in again if you cannot login.
Log out automatically when you close your browser
- Setting key : EXMENT_SESSION_EXPIRE_ON_CLOSE
- Default value : false
- Role : If true, you will be automatically logged out when you close your browser.
Login page header logo unused
- Setting key : EXMENT_DISABLE_LOGIN_HEADER_LOGO
- Default value : false
- Role : If true, do not use headers on the login page, even if the logo is set in the Exment system settings.
Use two-factor authentication
- Setting key : EXMENT_LOGIN_USE_2FACTOR
- Default value : false
- Role : If true, the two-factor authentication settings are displayed on the login setting screen, and two-factor authentication can be used. See here for details.
Valid period of the two-factor authentication code sent by email (minutes)
- Setting key : EXMENT_LOGIN_2FACTOR_VALID_PERIOD
- Default value : 10
- Role : For two-factor authentication by email, how long (in minutes) the verification code sent by email is valid.
Disable SSO login settings
- Setting key : EXMENT_CUSTOM_LOGIN_DISABLED
- Default value : false
- Role : If true, the login settings such as SSO are forcibly disabled, and only the login form with the Exment ID and password is displayed. See here for details.
Disable IP filter
- Setting key : EXMENT_DISABLE_IP_FILTER
- Default value : false
- Role : If true, the IP address restriction of the system settings is forcibly disabled. Use it when you can no longer access Exment because of a wrong IP address restriction. See here for details.
Search
Full text match when searching
It has been changed from the system setting page.
With or without filter when transitioning from the search page to the list page
- Setting key : EXMENT_SEARCH_LIST_LINK_FILTER
- Default value : true
- Role : When set to true, the search conditions entered on the "Search All Data" screen or "Search Relation Data" screen are retained as filters when navigating to the Data List screen.
When searching from the search bar, the file name of the "attached file" of the custom data is searched
- Setting key : EXMENT_SEARCH_DOCUMENT
- Default value : false
- Role : By setting to true, the file name of "Attachment" of custom data can be searched when searching from the search bar. *If it is true, the full-text search engine (Meilisearch) is not used on the search screen. For details, please check here.
Maximum number of keyword searches
- Setting key : EXMENT_KEYWORD_SEARCH_COUNT
- Default value : 1000
- Role : Maximum number of records to be acquired per table when searching for keywords.
Maximum number of related data searches
- Setting key : EXMENT_KEYWORD_SEARCH_RELATION_COUNT
- Default value : 5000
- Role : Maximum number of records to be acquired per table when searching related data.
Maintain view when searching for free words
- Setting key : EXMENT_SEARCH_KEEP_DEFAULT_VIEW
- Default value : false
- Role : If true, the currently selected view is preserved during table-level freeword search. (If false, a free word search will be performed in all view.)
About the settings of the full-text search engine (Meilisearch)
The following setting values beginning with "MEILISEARCH_" are the settings for using the full-text search engine "Meilisearch". For details, please check here. *Among these, "MEILISEARCH_HOST", "MEILISEARCH_KEY", "MEILISEARCH_INDEX", "MEILISEARCH_GLOBAL_SEARCH", "MEILISEARCH_REALTIME_SYNC", "MEILISEARCH_BATCH_SIZE", "MEILISEARCH_REPAIR_ENABLED", "MEILISEARCH_REPAIR_AT" and "MEILISEARCH_FILTER_MODE" are recommended to be set from the menu "Admin Settings > System Settings (Advanced settings)". Once that screen is saved, the values on the screen take priority over the ".env" for these items, and changes in the ".env" are no longer reflected. For the points to note when setting them in the ".env", please check here. *The setting values other than the above can be set only in the ".env".
Connection destination of the Meilisearch server
- Setting key : MEILISEARCH_HOST
- Default value : http://127.0.0.1:7700
- Role : This is the connection destination of the Meilisearch server.
Master key of Meilisearch
- Setting key : MEILISEARCH_KEY
- Default value : (none)
- Role : This is the master key for connecting to Meilisearch. Write the key generated when installing Meilisearch.
Use Meilisearch when searching
- Setting key : MEILISEARCH_GLOBAL_SEARCH
- Default value : false
- Role : If true, free word search is performed using Meilisearch instead of the database.
Reflect updates in Meilisearch in real time
- Setting key : MEILISEARCH_REALTIME_SYNC
- Default value : false
- Role : If true, the contents are reflected in the Meilisearch index when custom data is created, updated or deleted. *When using this setting, the setting of the queue and the execution of the queue worker are required.
Automatic repair of the Meilisearch index
- Setting key : MEILISEARCH_REPAIR_ENABLED
- Default value : false
- Role : If true, the difference between the database and the Meilisearch index is automatically repaired once a day. *When using this setting, the setting of the task schedule is required.
Execution time of the automatic repair of the Meilisearch index
- Setting key : MEILISEARCH_REPAIR_AT
- Default value : 03:00
- Role : This is the time to execute the automatic repair of the index. Write it in the "HH:MM" format. *When a format other than "HH:MM" is set, the automatic repair is not executed, and a warning is output to the log.
Index name of Meilisearch
- Setting key : MEILISEARCH_INDEX
- Default value : exment_global
- Role : This is the name of the index created in Meilisearch.
*When you have changed it, please execute "php artisan exment:meili-index" and recreate the index.
*When multiple Exment installations use one Meilisearch server, give each Exment its own index name. An index used by another Exment cannot be used.
(The Exment that uses the index is recorded in the index "(index name)__owner" with an identifier generated from "APP_KEY". Therefore, if you change "APP_KEY", it is also treated as another Exment.)
Unit of the index creation of Meilisearch
- Setting key : MEILISEARCH_BATCH_SIZE
- Default value : 1000
- Role : This is the number of documents sent in one request when creating the index.
Connection timeout of Meilisearch
- Setting key : MEILISEARCH_CONNECT_TIMEOUT
- Default value : 1.0
- Role : This is the timeout (seconds) when connecting to the Meilisearch server.
Timeout of Meilisearch
- Setting key : MEILISEARCH_TIMEOUT
- Default value : 5.0
- Role : This is the timeout (seconds) of a request to the Meilisearch server.
Wait time after a Meilisearch connection failure
- Setting key : MEILISEARCH_UNREACHABLE_BACKOFF
- Default value : 10
- Role : This is the time (seconds) before trying to connect again when the Meilisearch server could not be reached. Within this time, Exment does not try to connect to Meilisearch and treats it as an error immediately (searches switch to the search by the database). This prevents each process from waiting for the connection timeout while Meilisearch is down.
*If 0 is set, Exment does not wait and tries to connect every time.
Matching strategy of the Meilisearch search
- Setting key : MEILISEARCH_MATCHING_STRATEGY
- Default value : all
- Role : This is the matching condition when searching with multiple words. In the case of "all", data containing all the words is searched. In the case of "last", when the number of matches is small, the conditions are excluded in order from the last word.
Number of records fetched for the permission filter of Meilisearch
- Setting key : MEILISEARCH_PERMISSION_SCAN_CAP
- Default value : 1000
- Role : This is the upper limit of the number of records fetched in advance, in order to narrow down the search results by the permission of the user.
Maximum number of facet values of Meilisearch
- Setting key : MEILISEARCH_MAX_FACET_VALUES
- Default value : 1000
- Role : This is the upper limit of the number of values fetched per item in the narrowing down (facet) of the search results. *When a value less than 1000 is set, it is treated as 1000.
Filter behavior of Meilisearch
- Setting key : MEILISEARCH_FILTER_MODE
- Default value : override
- Role : This is how the target columns are decided for the narrowing down (facet) on the search result page. In the case of "override", the targets are decided automatically from the column type, then the columns added on the "Search Filter Setting" screen are added and the excluded columns are removed. ("Auto + Custom" on the screen) In the case of "manual", only the columns added on the "Search Filter Setting" screen become the target. ("Custom only" on the screen)
*When you have changed it, it is necessary to recreate the index. Please execute "php artisan exment:meili-index".
Use Meilisearch for "Select (select from the list of values of another table)"
- Setting key : MEILISEARCH_SELECT_TABLE
- Default value : false
- Role : If true, Meilisearch is used for the input completion (form and API) of the custom column "Select (select from the list of values of another table)". This setting is independent of "MEILISEARCH_GLOBAL_SEARCH". *When you set it to true, the search method of the candidates changes from a partial match against the stored value to a prefix match by word.
Unit of the index recreation of Meilisearch
- Setting key : MEILISEARCH_REINDEX_CHUNK_SIZE
- Default value : 500
- Role : This is the number of documents registered per run, in the index recreation that accompanies a change of the custom table / custom column settings.
Upper limit of the saved searches of Meilisearch
- Setting key : MEILISEARCH_SAVED_SEARCH_LIMIT
- Default value : 50
- Role : This is the maximum number of search conditions that one user can save.
Sync queue name of Meilisearch
- Setting key : MEILISEARCH_SYNC_QUEUE
- Default value : default
- Role : This is the name of the queue that executes the sync process for each custom data record.
Reindex queue name of Meilisearch
- Setting key : MEILISEARCH_REINDEX_QUEUE
- Default value : (the same value as MEILISEARCH_SYNC_QUEUE. "default" in the initial state)
- Role : This is the name of the queue that executes the process of recreating the index for each table.
Since this process is heavy, when you want to execute it separately from the sync process for each custom data record, set a name different from MEILISEARCH_SYNC_QUEUE, such as "meili-reindex". In that case, it is also necessary to add that name to "--queue=" of the queue worker.
Target language of the Meilisearch search
- Setting key : MEILISEARCH_LOCALES
- Default value : jpn
- Role : This is the language setting used when Meilisearch splits a sentence into words (tokenization). Write the language codes of ISO-639-3 separated by commas. (Example: "jpn", "jpn,eng") When it is left empty, this setting is deleted from the index and Meilisearch determines the language automatically. *In order to use this setting, Meilisearch v1.10 or later is required. When you have changed it, please execute "php artisan exment:meili-settings".
Email / Notification settings
Show / hide notification bar at the top right of the page
- Setting key : EXMENT_NOTIFY_NAVBAR
- Default value : true
- Role : If false, the notification icon in the upper right corner of the header will be hidden.
Use mail settings from env file
- Setting key : EXMENT_MAIL_SETTING_ENV_FORCE
- Default value : false
- Role : If set to true, the mail settings will be used from the settings in the .env file.
(If false, the setting value entered on the system setting screen will be used. When the host name is set on the system setting screen, mail is sent by SMTP even if "MAIL_MAILER" in .env is still "log".)
See here for details.
E-mail continuous notification ignore time (minutes)
- Setting key : EXMENT_NOTIFY_SAVED_SKIP_MINUTES
- Default value : 5
- Role : When notifying an email when creating / updating new data, the second and subsequent emails will be skipped if the same data is continuously updated. The time (minutes) to determine the number of consecutive notifications.
Email attachment encryption
- Setting key : EXMENT_ARCHIVE_MAIL_ATTACHMENT
- Default value : false
- Role : By setting to true, when sending an attachment by email from the screen, the attachment will be zipped and sent.
The decryption password will be sent separately.
If the notification target is a logged-in user, skip the notification
- Setting key : EXMENT_NOTIFY_SKIP_SELF_TARGET
- Default value : true
- Role : If true, at the time of notification, if the notification target is the logged-in user himself, the notification will be skipped. If false, the logged-in user will also be notified.
Workflow
Show / hide the pending task icon
- Setting key : EXMENT_WORKFLOW_TASK_NAVBAR
- Default value : true
- Role : If false, the pending task icon in the upper right corner of the header will be hidden.
The pending task list can still be opened from the URL "/workflow_task".
Update interval of the pending task icon (seconds)
- Setting key : EXMENT_WORKFLOW_TASK_NAVBAR_INTERVAL
- Default value : 300
- Role : How often (in seconds) the count of the pending task icon in the upper right corner of the header is updated. A value below 30 is treated as 30.
※ Every update checks the data of all workflows. The shorter the interval, the higher the load on the server.
Show workflow IDs
- Setting key : EXMENT_SHOW_WORKFLOW_ID
- Default value : false
- Role : If true, the ID of the workflow and the IDs of its actions are displayed on the workflow setting screen. Use it when you need the IDs for plugins or the API.
Notify the other members of the same organization
- Setting key : EXMENT_SAME_ORG_WORKFLOW_NOTIFY
- Default value : true
- Role : When a member of an organization executes a workflow action assigned to that organization, the other members of the organization are notified by an in-system alert. If false, they are not notified.
See Pending tasks for details.
LINE integration
Channel access token
- Setting key : LINE_CHANNEL_ACCESS_TOKEN
- Default value : (none)
- Role : The LINE channel access token used by LINE integration. The value saved in "LINE Setting" on the system settings screen takes priority.
Channel secret
- Setting key : LINE_CHANNEL_SECRET
- Default value : (none)
- Role : The LINE channel secret. The value saved in "LINE Setting" on the system settings screen takes priority.
Basic ID of the LINE Official Account
- Setting key : LINE_OA_BASIC_ID
- Default value : (none)
- Role : The basic ID of the LINE Official Account (the ID that starts with "@"). The value saved in "LINE Setting" on the system settings screen takes priority.
Time to prevent duplicate LINE notifications (passage of time) (minutes)
- Setting key : LINE_DEDUPE_MINUTES
- Default value : 0
- Role : For LINE notifications triggered by "The Passage of Time", after a LINE message about the same record is sent to a user, no message is sent to the user again for this number of minutes. Messages sent by other notification settings and messages that failed also count. 0 disables this function.
Validity period of the LINE link code (minutes)
- Setting key : LINE_LINK_CODE_TTL_MINUTES
- Default value : 10
- Role : How long the link code used for linking a LINE account is valid (minutes).
Maximum number of wrong LINE link codes
- Setting key : LINE_LINK_MAX_ATTEMPTS
- Default value : 5
- Role : How many wrong link codes can be sent. When this number is exceeded, linking is blocked for a while.
Period for counting wrong LINE link codes (minutes)
- Setting key : LINE_LINK_ATTEMPT_DECAY_MINUTES
- Default value : 10
- Role : The period (minutes) in which wrong link codes are counted. If "LINE_LINK_MAX_ATTEMPTS" wrong codes are sent within this period after the first wrong code, linking is blocked until the period has passed.
Timeout of LINE communication (seconds)
- Setting key : LINE_HTTP_TIMEOUT
- Default value : 10
- Role : The timeout (seconds) when communicating with the LINE platform.
URL of the LINE Messaging API
- Setting key : LINE_API_BASE
- Default value : https://api.line.me
- Role : The URL of the LINE Messaging API. Normally, do not change it.
Safety check
URL to get earthquake information
- Setting key : EXMENT_SAFETY_CHECK_FEED_URL
- Default value : https://api.p2pquake.net/v2/history
- Role : The URL of the API from which the safety check gets earthquake information for automatic sending. Normally, do not change it.
Number of earthquake information records to get
- Setting key : EXMENT_SAFETY_CHECK_FEED_LIMIT
- Default value : 10
- Role : The number of the latest earthquake information records to get in each check (every minute). Set a value from 1 to 100.
API
API enabled / disabled
It has been changed from the system setting page.
Standard number of API acquisitions
- Setting key : EXMENT_API_DEFAULT_DATA_COUNT
- Default value : 20
- Role : The number of data acquisitions when count is not used in API data list acquisition.
API list Maximum number of acquisitions
- Setting key : EXMENT_API_MAX_DATA_COUNT
- Default value : 100
- Role : Maximum number of API data list acquisition that can be acquired at the same time.
Maximum number of new APIs created at once
- Setting key : EXMENT_API_MAX_CREATE_COUNT
- Default value : 100
- Role : The maximum number of new APIs that can be created at the same time.
Maximum number of API batch deletions
- Setting key : EXMENT_API_MAX_DELETE_COUNT
- Default value : 100
- Role : Maximum number of APIs that can be deleted at the same time by batch deletion.
API Access Rate Limit
※ Available from v6.2.4.
- Setting key : EXMENT_API_MAX_RATE_LIMIT
- Default value : 60
- Role : The maximum number of API accesses per minute for each user (for each IP address if not authenticated). If the limit is exceeded, a 429 error (Too Many Requests) is returned. Please check here for details.
Get data label
- Setting key : EXMENT_API_APPEND_LABEL
- Default value : false
- Role : If true, the label column can be included when acquiring the data list or executing new data creation / update.
List (grid)
Invalid page transition when clicking a line
- Setting key : EXMENT_GRIDROW_SELECT_DISABLED
- Default value : false
- Role : By setting to true, the page transition when clicking a row on the list page is disabled.
Edit page transition when a line is clicked
- Setting key : EXMENT_GRIDROW_SELECT_EDIT
- Default value : false
- Role : If true, when you click a row on the list page, you will be taken to the data edit page. (The default is the data details page.)
Setting options for the number of items displayed on the custom data list page
- Setting key : EXMENT_GRID_PER_PAGES
- Default value : nothing
- Role : Please enter the setting value for the number of display options on the custom data list page. If multiple, please separate them with commas. example:100,200,500,1000
Minimum width of the columns on the list page (px)
- Setting key : EXMENT_GRID_MIN_WIDTH
- Default value : 100
- Role : The default minimum width (px) of the columns on the list page.
Maximum width of the columns on the list page (px)
- Setting key : EXMENT_GRID_MAX_WIDTH
- Default value : 300
- Role : The default maximum width (px) of the columns on the list page.
Maximum number of characters displayed on the list page
- Setting key : EXMENT_GRID_MAX_LENGTH
- Default value : 50
- Role : The maximum number of characters displayed for one item on the list page. A longer value is cut and displayed with "..." at the end.
Display custom data copy link
- Setting key : EXMENT_GRIDROW_SHOW_COPY_BUTTON
- Default value : false
- Role : By setting it to true, the copy link will be displayed in the operation field of the list page.
Screen design
- Setting key : EXMENT_UI_DESIGN
- Default value : nothing
- Role : Fixes the design of the login page and the admin pages on the server side. Enter "modern" or "classic". If set, this value takes priority over "Screen design" in the System setting, and it can no longer be changed on the system setting page. If not set, "Screen design" in the system setting (initial value: "Modern") is used.
※Available from v7.1.0.
Custom Data
Hide "Table Details" button on custom data page
- Setting key : EXMENT_TABLE_BUTTON_DISABLED
- Default value : false
- Role : By setting true, the "Table Details" button on the custom data page will be hidden.
Hide "Table Details" button on custom data page (users only)
- Setting key : EXMENT_TABLE_BUTTON_DISABLED_USER
- Default value : false
- Role : By setting true, the "Table Details" button on the custom data page will be hidden. * Only for general users. The system administrator and the administrator of that table are displayed.
Hide "Change View" button on the custom data page (users only)
- Setting key : EXMENT_VIEW_BUTTON_DISABLED
- Default value : false
- Role : By setting to true, the "Change View" button on the custom data page will be hidden.
Hide "Change View" button on the custom data page
- Setting key : EXMENT_VIEW_BUTTON_DISABLED_USER
- Default value : false
- Role : By setting to true, the "Change View" button on the custom data page will be hidden. * Only for general users. The system administrator and the administrator of that table are displayed.
Disable the data search dialog function of "Select (reference to other table)", "User", and "Organization"
- Setting key : EXMENT_SELECT_TABLE_MODAL_SEARCH_DISABLED
- Default value : false
- Role : By setting true, the data search dialog function of "Select (reference to other table)", "User" and "Organization" is disabled on the custom data entry page.
Number of cases to switch to "Search for choices each time" format for "Select (reference to other tables)", "Users", and "Organization"
- Setting key : EXMENT_SELECT_TABLE_LIMIT_COUNT
- Default value : 100
- Role : On the new custom data creation / editing page, set the number of cases to switch the selected item to the "search for choices each time" format.
Disable the image upload function of the custom column "Editor"
- Setting key : EXMENT_DIABLE_UPLOAD_IMAGES_EDITOR
- Default value : false
- Role : By setting to true, the image upload function in the custom column "Editor" is disabled on the custom data edit screen.
Number of custom data attachments that can be uploaded at one time
- Setting key : EXMENT_DOCUMENT_UPLOAD_MAX_COUNT
- Default value : 5
- Role : The number of custom data attachments that can be uploaded at one time.
Maximum size of an image pasted into a comment
- Setting key : EXMENT_COMMENT_IMAGE_MAX_SIZE_KB
- Default value : 10240
- Role : The largest image (PNG, JPEG, GIF, WebP) that can be pasted or dropped into the comment box of a data, in kilobytes. ※Available from v7.1.0.
Allow deleting attachments even in tables whose deletion is disabled by "Cannot changed from display"
- Setting key : EXMENT_ALLOW_DELETE_ATTACHMENT
- Default value : false
- Role : In a table where "Delete" is checked in "Cannot changed from display" of the custom table settings, the attachments on the data detail screen normally cannot be deleted either. By setting to true, users who can edit the data can delete the attachments in such tables.
Maximum number of records fetched by the calendar view
- Setting key : EXMENT_CALENDAR_MAX_SIZE_COUNT
- Default value : 300
- Role : The maximum number of records fetched for the displayed period in the calendar view.
Display of spaces in the custom column "Multiple-Line Text"
- Setting key : EXMENT_TEXTAREA_SPACE_TAG
- Default value : true
- Role : If true, when a value of the custom column "Multiple-Line Text" is displayed on the list or detail screen, each space is replaced with a tag that has a width, so consecutive spaces are displayed as entered. If false, spaces are not replaced.
Disable the relation filter
- Setting key : SELECT_RELATION_LINKAGE_DISABLED
- Default value : false
- Role : By setting to true, the "Relation Filter Setting" of custom forms (narrowing down the options of an item when another item is selected) is disabled in all forms.
Disable user views for specific tables
- Setting key : EXMENT_USERVIEW_UNAVAILABLE_TABLE
- Default value : (None)
- Role : Enter the names (alphanumeric) of the tables where user views are disabled, separated by commas. (Example: information,contract) In these tables, even if user views are enabled in the system settings, only users who have the permission for system views, such as table administrators, can create and edit views.
Hide "Read only" fields on the custom data detail screen
- Setting key : EXMENT_DISABLE_SHOW_FIELD_READONLY
- Default value : false
- Role : By setting to true, the items set to "Read only" are hidden on the custom data detail screen.
Hide "View only" fields on the custom data detail screen
- Setting key : EXMENT_DISABLE_SHOW_FIELD_VIEWONLY
- Default value : false
- Role : By setting to true, the items set to "View only" are hidden on the custom data detail screen.
Maximum number of characters of the custom columns "Multi-line text" and "Editor"
- Setting key : EXMENT_CHAR_LENGTH_LIMIT_COUNT
- Default value : 63999
- Role : The maximum number of characters of the custom columns "Multi-line text" and "Editor" that can be set as a system.
Always perform physical deletion without using logical deletion
- Setting key : EXMENT_DELETE_FORCE_CUSTOM_VALUE
- Default value : false
- Role : By setting to true, physical deletion is always performed without using logical deletion of custom data.
Also get the ID and the data of each item when displaying the calendar view
- Setting key : EXMENT_CALENDAR_DATA_GET_VALUE
- Default value : false
- Role : By setting to true, the ID and the data of each item are also obtained when the calendar view is displayed.
※Set it to true if you want to use the value of each data when rewriting the display of the view with a plugin (script).
Maximum number of records displayed in the kanban view
- Setting key : EXMENT_KANBAN_MAX_SIZE_COUNT
- Default value : 300
- Role : The default maximum number of records displayed in the kanban view. It is the initial value of "Max display count" when creating a new kanban view.
※If "Max display count" is set in the view, the view setting takes priority. The more records there are, the slower the display becomes.
Organization settings
Perform hierarchical display on the department list page
- Setting key : EXMENT_SHOW_ORGANIZATION_TREE
- Default value : false
- Role : By setting to true, you can display the hierarchy of the organization on the organization list page.
Depth of the organization hierarchy
- Setting key : EXMENT_ORGANIZATION_DEEPS
- Default value : 4
- Role : The maximum number of levels followed when getting parent and child organizations, for example when checking permissions.
Location of the 'custom_value_(table_name)' class
- Setting Key: EXMENT_SHOW_PAGE_CLASS_TYPE
- Default Value: 1
- Role: Configures the insertion position of the "custom_value_(table name)" class. Please select from the following options:
- 1 OR No Setting: The class will be set in the parent container of optional information such as attachments, comments, etc.
- 2: The class will be set in the container displaying custom column items.
- 3: The class will be set in both the above 1 and 2.
Order setting
Sorting order of affiliated organization settings on the user edit page
- Setting key : EXMENT_SORT_ORG_BY_DEFAULT_VIEW
- Default value : false
- Role : By setting it to true, the sorting order of the departments will match the sorting order of the default view (of the department) in the belonging department setting of the user edit page. If false, it will be in id order.
Sort order of role group settings
- Setting key : EXMENT_SORT_ROLE_GROUP_BY_ORDER
- Default value : false
- Role : By setting it to true, the order of role group settings on the user edit page and organization edit page and the order of the role group list page will match the display order (of role groups). If false, it will be in id order.
Custom view sort order
- Setting key : EXMENT_SORT_CUSTOM_VIEW_OPTIONS
- Default value : 0
- Role : Set the order of views displayed on the custom view menu button. Please choose from the following.
0: 1st key: System view/user view, 2nd key: View type, 3rd key: id
1: 1st key: System view/user view, 2nd key: View type, 3rd key: order
2: 1st key: system view/user view, 2nd key: order
Import / Export
Disable Import
- Setting key : EXMENT_IMPORT_DISABLED
- Default value : false
- Role : Set to true, to hide the data import function on the list page of all tables.
Disable Export
- Setting key : EXMENT_EXPORT_DISABLED
- Default value : false
- Role : Set to true, to hide the data export function on the list page of all tables.
Disable Export (view)
- Setting key : EXMENT_EXPORT_VIEW_DISABLED
- Default value : false
- Role : Set to true, to hide the data export (view) function on the list page of all tables.
Disable import / export in csv format
- Setting key : EXMENT_IMPORT_EXPORT_DISABLED_CSV
- Default value : false
- Role : Set to true, the csv format will not be displayed from the data import / export button on the list page of all tables.
Disable import / export in xlsx format
- Setting key : EXMENT_IMPORT_EXPORT_DISABLED_EXCEL
- Default value : false
- Role : Set to true, the xlsx format will not be displayed from the data import / export button on the list page of all tables.
Add BOM when exporting in csv format
- Setting key : EXMENT_EXPORT_APPEND_CSV_BOM
- Default value : false
- Role : By setting to true, BOM will be added when exporting CSV data. (The characters are not garbled even if opened in Excel.)
Maximum number of rows for import from the screen
- Setting key : EXMENT_IMPORT_MAX_ROW_COUNT
- Default value : 5000
- Role : The maximum number of rows that can be imported at one time from the screen. A file with more rows causes an error.
※ Increasing this value may cause timeouts or out-of-memory errors. To import a large amount of data, consider bulk insert.
Enable import / export for role group
- Setting key : ROLE_GROUP_IMPORT_EXPORT
- Default value : false
- Role : By setting to true, button for importing and exporting data are displayed on the role group settings page.
* This is an extension for those who have sufficient knowledge of Exment's permission management. Please be sure to work carefully, such as taking a backup in advance.
Dashboard
Dashboard rows
- Setting key : EXMENT_DASHBOARD_ROWS
- Default value : 4
- Role : Change the number of rows that can be placed on the dashboard.
Disable latest version display of dashboard
- Setting key : EXMENT_DISABLE_LATEST_VERSION_DASHBOARD
- Default value : false
- Role : If true, disables the "new version is available" display on the dashboard.
Change the color of the dashboard graph display
- Setting key : EXMENT_CHART_BG_COLOR
- Default value : #FF6384,#36A2EB,#FFCE56,#339900,#FF6633,#CC0099
- Role : You can change the color type of the graph displayed on the dashboard, separated by commas. If you want to display a graph with more than the specified number of colors, specify the colors in a cycle.
* This setting has been added since v3.4.3. For users who have installed Exment with v3.4.2 or lower, the above settings are fixed.
To change it, open the "config/extension.php" file and make the following changes.
///// from
// 'chart_backgroundColor' => [
// "#FF6384",
// "#36A2EB",
// "#FFCE56",
// "#339900",
// "#ff6633",
// "#cc0099"
// ],
///// to
'chart_backgroundColor' => env('EXMENT_CHART_BG_COLOR', '#FF6384,#36A2EB,#FFCE56,#339900,#ff6633,#cc0099'),File
Prevents anyone other than the uploader from deleting attachments
- Setting key : EXMENT_FILE_DELETE_USERONLY
- Default value : false
- Role : By setting to true, files uploaded on the data detail screen can only be deleted by the uploader.
Invalid file drag and drop
- Setting key : EXMENT_FILE_DRAG_DROP_DISABLED
- Default value : false
- Role : Set to true to disable drag and drop display items such as custom column files and image columns.
File save destination
- Setting key : EXMENT_DRIVER_EXMENT, EXMENT_DRIVER_BACKUP, EXMENT_DRIVER_TEMPLATE, EXMENT_DRIVER_PLUGIN
- Default value : local
- Role : Changes where attachments, backups, templates and plugins are saved (local, FTP, SFTP, Amazon S3, Azure Blob, and so on). See here for details, including the settings each destination needs (such as AWS_BUCKET_EXMENT).
7-Zip folder (Windows)
- Setting key : EXMENT_7ZIP_DIR
- Default value : C:\Program Files\7-Zip
- Role : On a Windows server, the folder where 7-Zip is installed. It is used to create password-protected zip files when "Email attachment encryption" (EXMENT_ARCHIVE_MAIL_ATTACHMENT) is used. Enter the folder that contains "7z.exe".
Change the extension displayed on the browser when clicking the attached file
- Setting key : EXMENT_FILE_DOWNLOAD_INLINE_EXTENSIONS
- Default value : (None)
- Role : The extension to be displayed on the browser when the attached file is clicked is described without dots and separated by the extension. (Example: png, jpg, gif)
- Other special notes : Regarding the behavior of file click, all files were displayed on the browser before, but due to the indication of the vulnerability, the attached file is in the download format. Due to the above background, please make this setting at your own risk.
Validity period of the temporary URL when downloading a file
- Setting key : EXMENT_FILE_DOWNLOAD_TEMPORARY_URL_MINUTES
- Default value : 15
- Role : The validity period (minutes) of the temporary URL (signed URL) when the file save destination is a storage that can issue temporary URLs, such as Amazon S3.
For such a storage, downloading a file redirects to the temporary URL of the storage, and the browser downloads the file directly from the storage.
※The validity period is checked when the download starts, so a download in progress is not interrupted even if the validity period passes. However, resuming a download interrupted by a network error fails once the validity period has passed.
Public form (Google reCAPTCHA)
Score threshold of Google reCAPTCHA v3
- Setting key : EXMENT_RECAPTCHA_V3_SCORE_THRESHOLD
- Default value : 0.5
- Role : The score threshold when using Google reCAPTCHA v3 in the public form. reCAPTCHA v3 returns a score from 0.0 (very likely a bot) to 1.0 (very likely a human), and a submission whose score is below this value is rejected. Raise the value if spam still gets through, and lower it if real visitors are blocked.
※It is used only when "V3" is selected for Google reCAPTCHA on the system settings screen.
※If a value outside the range 0 to 1 is set, 0.5 is used instead.
Hide "Powered by Exment" in the footer of public forms
- Setting key : EXMENT_DISABLE_PUBLICFORM_USE_FOOTER_LABEL
- Default value : false
- Role : By setting to true, "Powered by Exment" displayed in the footer of public forms is hidden.
Change the "/publicformapi" URI of the public form API
- Setting key : EXMENT_PUBLICFORMAPI_ROUTE_PREFIX
- Default value : publicformapi
- Role : The path name of the URL of the API that public forms use internally (for example, to get options).
IP addresses that skip Google reCAPTCHA
- Setting key : None (set with "recaptcha_skip_ips" in "config/exment.php")
- Default value : [] (none)
- Role : The list of IP addresses that are not checked by Google reCAPTCHA. Use it, for example, when testing the public form from your office.
※Submissions from the IP addresses written here are never checked by reCAPTCHA. It is recommended not to set it in the production environment.
※This setting cannot be set in ".env". Open the "config/exment.php" file and write it as follows.
※If you set "skip-ips" in "config/no-captcha.php" in Exment v6.x or earlier, write it again in this setting in v7.0.0 or later.
'recaptcha_skip_ips' => [
'192.168.0.1',
],Other
In public forms, allow the initial value of the custom columns "Select (reference to other table)", "User" and "Organization" to be set only by suuid (20-digit random string)
- Setting key : EXMENT_PUBLICFORM_URLPARAM_SUUID
- Default value : false
- Role : Click here for details.
Line feed code removal in HTTP response
- Setting key : EXMENT_REMOVE_RESPONSE_SPACE
- Default value : false
- Role : By setting to true, the line feed code in the response will be deleted.
User view disabled
From v3.5.0, it has been changed to change from the system setting page.
User dashboard disabled
From v3.5.0, it has been changed to change from the system setting page.
Hide "Hidden field" on the data detail screen
- Setting key : EXMENT_HIDE_HIDDENFIELD
- Default value : true
- Role : By setting to true, the data which is "Hidden field" in the form setting is hidden on the data detail screen.
Demo mode
- Setting key : EXMENT_DEMO_MODE
- Default value : false
- Role : For a public demo site that publishes the administrator login. If true, operations that run code on the server, change the server or other sites, send anything outside or show secrets are refused, even for the system administrator (plugin upload and code editing, backup, template import, mail / login / API settings, password changes and so on). Mail is only written to the log, and Slack, Teams and LINE messages are not sent. "This is a demo site" is shown at the top of the page. Console commands (such as a nightly restore by cron) are not limited. Do not set it on a site in normal use.
※Available from v7.1.0.
For debug and developers
Expert mode
- Setting key : EXMENT_EXPART_MODE
- Default value : false
- Role : True gives you more flexibility and system-specific settings.
Debug mode (request value output)
- Setting key : EXMENT_DEBUG_MODE_REQUEST
- Default value : false
- Role : Set to true to log the request value to the Exment Web service.
Debug mode (SQL log output)
- Setting key : EXMENT_DEBUG_MODE_SQL
- Default value : false
- Role : By setting to true, you can log the SQL statement when executing SQL with Exment.
* For development.
Debug mode (SQL log output-function display)
- Setting key : EXMENT_DEBUG_MODE_SQLFUNCTION
- Default value : false
- Role : When executing SQL with Exment, when "EXMENT_DEBUG_MODE_SQL" is true, you can log the caller's function list at the same time as the SQL statement by setting it to true.
* For development.
Debug mode (Scheduling log output))
- Setting key : EXMENT_DEBUG_MODE_SCHEDULE
- Default value : false
- Role : By setting to true when scheduling is executed, you can check the scheduling definition and the progress of execution. For details, please check here "Verification when it does not work". * For verification.
2D Barcode
Button Display Name (Japanese)
- Configuration Key: EXMENT_TEXT_QR_BUTTON_JA
- Default Value: (None)
- Purpose: Sets the Japanese display name for "2D Barcode" used in creating and downloading 2D barcodes. If not specified, the default is "二次元バーコード".
Button Display Name (English)
- Configuration Key: EXMENT_TEXT_QR_BUTTON_EN
- Default Value: (None)
- Purpose: Sets the English display name for "2D Barcode" used in creating and downloading 2D barcodes. If not specified, the default is "2D barcode".
2D/JAN Barcode
Button Display Name (Japanese)
- Configuration Key: EXMENT_TEXT_SCAN_BUTTON_JA
- Default Value: (None)
- Purpose: Sets the Japanese display name for the "2D/JAN Barcode" scan button. If not specified, the default is "二次元/JANバーコード".
Button Display Name (English)
- Configuration Key: EXMENT_TEXT_SCAN_BUTTON_EN
- Default Value: (None)
- Purpose: Sets the English display name for the "2D/JAN Barcode" scan button. If not specified, the default is "2D barcode/JANcode".
