FineBI version
JAR package
new features
5.1
2019-01-15
-
2020-01-15
Support for exporting raw Excel attachments of Excel datasets together
5.1.15
When resources are imported, automatically detect whether the imported resources are consistent with the current project version
When using a data decision-making system, the test environment system is often used for deployment and development, and it is determined that there is no problem before migrating to the formal system.
incrementally migrate dashboards, business packages, etc. from the test environment to the formal environment.
When using the FineBI data decision-making system, it is generally developed and deployed on the test environment system first, and then migrated to the formal system after confirmation.
FineBI supports incremental migration of template files and platform configurations from test systems to production systems.
Log in to the data decision-making system with Super Control, click "Manage > Intelligent Operations > Resource Migration", which is divided into two parts: "Resource Export" and "Resource Import".
This article only introduces the operation method when the migration resource type is "BI Data Table".
1) The resource migration function is only supported by super administrators. Even if the sub-administrator is assigned the authority of intelligent operation and maintenance, resource migration cannot be performed.
2) For formal projects, you need to purchase the "Intelligent Operation and Maintenance" function point to use the "Resource Migration" function.
3) Please ensure that no one else uses the super administrator account during the resource migration process, otherwise some execution requests may be cancelled.
to synchronize to the company project in the form of resource migration after the personal PC project development template.
there is no administrator maintenance on the personal PC , resource migration often fails due to out-of-sync JAR packages or out-of-sync resources and configurations, resulting in high operation and maintenance costs .
Before migrating resources, please ensure that the versions used by the FineBI projects for importing and exporting resources are the same.
The administrator can view the version number under "Manage > Registration > Version Information", as shown in the following figure:
If the versions are inconsistent, you can upgrade to ensure that the versions are consistent. For details, see: Upgrade Guide Index .
Note: BI projects of version 5.1.15 and later cannot be uploaded if the project corresponding to the uploaded resource is inconsistent with the current project version during resource import.
Tip: Unable to import, the project version required for the resource to be imported: XXX. Current project version: XXX. Please make sure the project version is the same!
Before importing resources, it is recommended to perform tests on both the test system and the formal system. System backup , as shown in the following figure:
Note: The MySQL database to which the backup is migrated needs to select the collation of utf8_bin.
If the system is configured with an external database , before resource migration, please make sure that the "Database Default Character Validation Rules" of the official system and the test system are "Case Sensitive".
Take Mysql as an example:
Setting method: If an external database is configured, connect to the FineDB database, open the FINE_CONF_ENTITY table, set the character verification rule to utf8_bin, and enter the command as follows:
ALTER TABLE fine_conf_entity MODIFY id VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin; #Set the default validation rule of the column ALTER TABLE fine_conf_entity DEFAULT CHARACTER SET utf8 COLLATE utf8_bin; #Set the validation rule of the table
As shown below:
· If data connection migration is required, you need to ensure that a data connection has been created in the official system before resource migration and import, and the data connection name must be the same as that of the test system, otherwise the resource cannot be successfully migrated.
· If you are migrating a dashboard created by a server dataset , you need to ensure that a server dataset with the same name has been created on the official system before migrating.
During the resource migration process, the user type of the creator of the BI data table needs to be consistent.
For example, the creator of the data table in the test system is a BI data analysis user, so it also needs to be added to the BI data analysis user in the formal system.
After the administrator logs in to the system, go to "Manage > Intelligent Operations > Resource Migration", select "Resource Export", and select the BI data table to be exported, as shown in the following figure:
The exportable BI data table resources are as follows:
· Base tables and self-service datasets in Data Preparation can be exported. "My Self-Service Dataset" cannot be exported. If exporting is required, the data in "My Self-Service Dataset" must be moved to the public business package.
· The relevant configuration information, escape, association, update settings, real-time settings, and path settings (in the service package) of the selected table can be exported. Scheduled update tasks can be exported along with the table.
After selecting the BI data table, you need to select the dependent resources. As shown below:
For example, a region needs to be migrated to access statistical self-service datasets, and the Alice user of the service package has viewing rights, but the demo user does not. Therefore, its resources need to be exported first.
The base table and self-service dataset resource information used by the BI data table is obtained. If the data table resource required by the BI data table already exists in the official system, you can choose not to export it here.
BI data table dependent resources support export scope as follows:
· Directly used analysis table, basic table.
· The analysis tables used, the underlying tables, and the related tables traversed on the association path.
Note: If the dependent resource is in the My Analysis table, export its path according to the user, and import it into the My Analysis table of the corresponding user during subsequent import.
Users can choose whether to export the following:
Export settings
illustrate
Also export original excel attachments
If the BI data table is made using an Excel data set, you can check the option to export the original excel attachment at the same time , and directly export the original Excel attachment together with the BI data table, so that you do not need to re-upload the Excel data set in the subsequent import, and directly export the original Excel attachment with the BI data table. Data table import
Note: If the original name of the exported data table (that is , the name in the parentheses of the data table in the resource above) is the same as that in the official system, the data table in the official system will be overwritten, so you need to confirm it here before exporting and importing.
Export hyperlink jump templates at the same time
When exporting "BI Data Table", this option does not take effect
Export permissions configuration
Exporting the permission configuration will export the permission configuration corresponding to the data table, including business package permissions
After subsequent import, the permission settings corresponding to the BI data table will not change
After exporting, the resources.zip file will be generated, as shown in the following figure:
The super administrator logs in to the data decision system and selects "Manage > Intelligent Operations > Resource Migration > Resource Import", as shown in the following figure:
Note1: system backup before importing resources . The MySQL database to which the backup is migrated needs to select the collation of utf8_bin.
Note 2: Only a single compressed file is allowed to be uploaded at a time.
The system will obtain the resources contained in the imported file, including types, platform paths, physical resources, permission information, and import methods.
set up
type
Types include BI data tables
platform path
The platform path is the directory path of the "export system", and a full path is automatically created
physical resources
The physical resource is where the table is actually stored in the system
permission information
Click "Details" to view permission information
It will prompt whether there are any missing departments/roles/users in the imported system
Import method
When importing, the system will detect the resources to detect whether there is a conflict with the existing resources of the system.
Conflict checking is based on the original name of the resource and its pathname on the platform.
Divided into direct import and overwrite import
Direct import: There is no conflict with existing resources in the system, it is selected by default.
Overwrite import: conflict with existing resources in the system, it is not selected and highlighted by default, click the button to view the detailed description
Note: The table name of the imported data table is different from the table name of the original data table in the imported project, but it prompts that the table conflict needs to be overwritten after importing. At this point, it is necessary to judge whether the table names of the data tables before and after the import are the same when creating the table.
Example: The name of the table in resource export project 1 was created as self-service data set 1, which was later changed to table A; when the resource was imported, it would conflict with the self-service data set 1 in the imported project.
collision detection
When importing, the system will check the resource to check whether there is a conflict with the existing resource of the system. The conflict check is based on the original name of the resource .
Platform Path: Path Conflict
Physical Resource: Path Conflict
Example: When the resource is exported, the name of the table is called "NEW_DIAN" when it is created, and later it is changed to " Store dimension ". When the resource is imported, it will conflict with the "NEW_DIAN" in the imported project.
Check the resources to be uploaded, click Import, and click OK. As shown below:
If the import fails, the reason for the failure will be displayed (for example, the export project and the import project have the same name and path but different types); if the import is successful, the resource will take effect immediately. As shown below:
If the imported base table resource is "extracted data", the data needs to be updated before importing into the new system before the corresponding data table can be viewed normally.
data update under the corresponding service package , or directly perform global update . After the update, you can see that the imported data tables are displayed normally, as shown in the following figure:
Note 1: For versions before 2020-01-15, if you use Excel data, you need to enter the data service package for resource usage, select Update Excel under the corresponding data table, and re-upload and update the Excel table of the source data .
Note 2: If the imported data table is an Excel data set or a self-service data set made with an Excel data set as the base table, a business package update or a global update must be performed.
If the imported data table is a database table or an SQL data set, you can perform single table update on the imported table.
If the data update operation is not performed, when previewing the related data table, it will prompt "The current table is not updated ". As shown below:
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy