It is possible to import an exported query definition into another environment.
However, there are the following precautions, so please check before importing.
1. The connection ID used at the export source exists at the import destination
The query definition export file contains data-source tag.
This setting value corresponds to the connection ID.
Example)
<data-source>default</data-source>
The connection ID can be one of the following:
* "Tenant ID" for tenant database
* "Connection ID" for shared database
* "Connection ID defined in the setting file" for external data source
For example, if you are using Logic Flow, it would be "LogicFlow".
Any value other than the above cannot be used as a connection ID.
2. The tables and views included in the query definition exist in the import destination.
Specifically, the following definitions must be identical to the export source:
* Table name
* Column name
* Column type
Please refer to the following for the types that are supported in ViewCreator.
https://document.intra-mart.jp/library/iap/public/viewcreator/viewcreator_administrator_guide/texts/about/about.html#supported-field-types
3. The version of the Accel Platform to which you are importing must be the same as or newer than the version from which you are exporting.
* Importing materials exported from a newer version into an older version is not supported.
* Importing materials exported from older version into the new version is supported.
4. No database-dependent SQL statements
In query definitions, there are sections where SQL (including parts of SQL) can be described in the following parts.
* SQL Builder
* Direct input of Where clause
* Direct input of extraction conditions
If the database product or version of the database product are different between the export source and the import destination, it may be necessary to review it.
FYI:
intra-mart Accel Platform ViewCreator Administrator Operation Guide - Import/Export
https://document.intra-mart.jp/library/iap/public/viewcreator/viewcreator_administrator_guide/texts/apply_guide/apply_guide_7.html
intra-mart Accel Platform Setting File Reference - External data source settings
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/viewcreator/viewcreator-config/index.html#External data source settings
-- Target --------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------
FAQID:1384
Is it possible to import an exported query definition to another environment?
