Template
Import or export Exment tables, columns, form information, menus, dashboards, and other information.
By importing templates created by other users into this system, you can eliminate the need to create custom tables and other items.
In addition, you can export custom tables created with this system as templates so that other users can use them.
Page display
- Select "Template" from the left menu.
Or access the following URL.
http(s)😕/(Exment URL)/ template
This will display the template screen.
Note: the URLs are for the default without "/admin" (a site newly installed with v7.2.1 or later). If
ADMIN_ROUTE_PREFIXin.envhas a value (an older site has "admin"), add it after the URL of the site (e.g.http(s)://(Exment URL)/admin/oauth/token). For details, see Change / delete "admin" included in URL.
Export
Export the template.
Fill out the necessary items in the "Export" item on the page and click "Send" to output a zip file with the required information. 
Template name: Enter the name to be used in the system when exporting, using alphanumeric characters, "-" or "_".
Enter a name that does not duplicate with other template files.Template display name: Enter the template name to be displayed on the template screen.
Template description: Enter the description to be displayed on the template screen.
Thumbnail: Upload the thumbnail to be displayed on the template screen. The recommended size is 256px * 256px.
If you do not upload, "No Image" image will be displayed on the template screen.Export target: Select what to export with this template. When you import a template, the selected items are imported into the system.
The following targets can be selected: "Table", "Menu", "Dashboard", "Role group", "Workflow".
※ "Workflow" can be selected in v7.0.0 or later.
Export target table: When "Table", "Menu", "Role group" or "Workflow" is selected in "Export target", only the contents related to the table selected in this table will be exported.
Select this if you want to create a template by exporting only the contents related to the table you created.
※ If not selected, all items will be exported.
When you are finished, click Submit.
The template file will be exported according to the entered information.
The data format is a zip file.
Import
Import the template.
Currently, there are three types of templates that can be imported.
- Templates provided by Exment
- Template uploaded from screen
- Templates uploaded in the past in the system (can be imported again)

Execute the import using one of the following methods.
Installation templates:
A list of templates prepared in Exment or templates uploaded in the past is displayed.
From that, select the template you want to import.Template upload:
Please upload the Exment template file you have from the screen.
The file format is zip.After doing either of the above, click "Submit". This will import the selected or uploaded template into the system.
As a result, information such as tables, forms, views, and dashboards defined in the template is installed on the system.
Bundled template: Request pack
(From v7.2.1.) A template with approval requests, expense claims, business trip, payment and leave requests, together with an approval workflow. Import "Request pack" from "Install template".
| What it adds | Contents |
|---|---|
| Tables | Approval request (ringi), expense claim (lines: date, account, paid to, amount, receipt), business trip request, payment request, leave request |
| Workflow "申請・承認(標準)" | Shared by the five requests. Draft → [申請] → 申請中 → [承認] → 承認済み (no longer editable) / [差し戻し] (comment required) → 差し戻し → [再申請] → 申請中 |
| Role groups | Applicants (make and edit their own requests), Approvers (see every request) |
| Menu | Requests & approvals ▸ Pending tasks and the five requests |
After importing
- In "Role Group", put the staff who make requests in Applicants and the people who approve in Approvers.
- The "Requests & approvals" menu is shown only to the applicants and approvers (and system administrators) (Role groups that see it). Right after importing nobody is an applicant, so only system administrators see it.
From a request to its approval
- An applicant makes a request (for example an approval request), saves it and presses [申請], choosing who approves it.
- It appears in "Pending tasks" of that person, who presses [承認] or [差し戻し].
- When it is sent back, the applicant fixes it and presses [再申請].
※The approver is chosen when submitting, not set by a role group (workflow permissions are given to users, organizations, the creator or a column). To have fixed approvers, change who can run "承認" and "差し戻し" in Workflow. ※The tables, forms and workflow can be changed like any custom table and workflow. The statuses and actions of the workflow are in Japanese.
