Template:Help/ImportData

From Metabolonote
jump-to-nav Jump to: navigation, search

Import (recovery/transfer)

By using the exported XML file, you can import metadata into Metabolonote for the sample set ID you created.



Preparation
You must create an Sample Set ID in the Metablonte system prior to importing data. Where data is transferred among multiple Metabolonote systems, if a sample set ID does not already exist in the target systems, create a sample set ID by referring to Creating a New Sample Set.


Special Pages

Click the "Special Page" link in the toolbox on the left side of the page, then select "Import XML" from the field "Other Special Pages" at the very bottom of Special Page.


Import XML

Configure the following settings described below on the "Import XML" page that is displayed.


Select the XML file to be imported
Click the Select file button in the field of "Please select the XML file to import:" to select the XML file to be imported.


Select actions for the existing pages
In the field of "For pages that already exist:", if "Overwrite existing content" is selected, the existing data will be overwritten. If "Skip" is selected, the existing data is saved without being overwritten.


Comments of import (not essential)
You can write comments in the field "Summary of import:".


After finishing the procedures above, click the Import button.


Import XML

The confirmation page for metadata formats applied to each page (classifications of S, M, and D) is displayed.


* Notice that if "Overwrite existing content" has been selected in the previous procedure, the existing page will be overwritten.


After confirming the above information, click the Submit button.

Import XML

If metadata formats different from Metabolonote are defined, the system may not be able to determine which format to be used. In such a case, radio buttons to select the format to be used are displayed. After selecting the appropriate format, click the Submit button.



Import XML

When the message "** pages will be created from the XML file." is displayed as shown on the right, the import process has been completed.

* "**" indicates the number of pages that have been imported.


(Supplementary) Import with a Different Sample Set ID

Users may not be able to create the sample set ID which they used when the data was exported because the sample set ID has already been create by another user in the Metablonote system to which data was imported. Should this happen, you can create a different sample set ID by editing the XML file that was exported. Using this newly created sample set ID, you can import data.


This section describes the example case where the data exported as TSE1 is imported again as TSE001.


Open the XML file exported by text editor. Check the line containing the portion described below.

<Namespace Name="TSE1">

* TSE1 is a Sample Set ID when the data is exported.

This description could exist in multiple lines within the file where multiple sample set IDs were exported.


Replace TSE1 with the new sample set ID.

(Example)

<Namespace Name="TSE001">

*You need to create the sample set ID to be set, TSE001 in this case, in the Metabolonote system prior to importing the data.


Save and close the XML file.


Use this file to import data.

(Supplementary) Check if Import has been Completed

Usually, the import process is finished in 30 seconds and the message of import completion is displayed. However, when a vast amount of data with thousands of orders is imported, it could take time before the message page is displayed and the import process may have failed even though the page has been displayed. You can use the following procedures to confirm that your data has completely been imported. Confirm as necessary.


Open the XML file to be imported by text editor. Check the line containing the portion described below. This description could exist in multiple lines within the file where multiple sample set IDs exist.

<Namespace Name="TSE1">

* TSE1 indicates an example of the sample set ID.


Check the sample set ID that appears at the very end of the XML file.

Confirm that the data with this sample set ID has successfully been imported on the Metabolonote system.


The import process proceeds from the top line of the XML file. If the last data has been imported, the whole process of import has been successfully completed. If not, separate the XML file into several sample sets and import each of them separately. Make a copy of the original XML file and delete the whole portion between the tags <Namespace> and </Namespace>. By doing so, you can also delete the corresponding sample set data from the file copied. Use such files to import data.

Personal tools
View and Edit Metadata
Variants
Views
Actions