Attach or remove XML files for import - Intergraph Smart Reference Data - Help - Hexagon

Intergraph Smart Reference Data Help (10.2)

Language
English
Product
Intergraph Smart Reference Data
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.2

You can attach XML format catalog files to an import job so that when the job is started, the software can read and import data from these files. Once a new import job is created on XC3010 Manage Import Jobs, double-click the row in the grid. Another dialog box, CMS Import Job: <Your Job Code> opens, as shown below.

This dialog box has a special Files section. This section allows you to attach XML files with the job and also upload them to the server for further processing.

Remove Files

The read-only grid in the Files section of the dialog box displays the list of files attached and uploaded for the import. Select the file you want to remove from the import job. Then click the Remove File button to remove the file from the import job.

Add Files

If you want to add an XML file for import, click the Add Files button to open the following dialog box:

Click the Attach button to open the file browsing dialog box on your system. Use the file browsing dialog box to locate the XML file you want to attach to the job and click OK. Once you are back on this dialog box, choose the appropriate value in the File Content column indicating the content of the file. If you choose “STRUCTURE,” the software creates the class system and class hierarchy with the data from this file. If you choose “ARTICLE”, the software creates components with the data from this file.

Multiple XML files can be attached using this dialog box. Please note that the file name and file content must form a unique combination. The same file name cannot appear for different content types, and different files for same content type are not supported.

The maximum length of the file name depends on the operating system.

If you have DTD (Type Definition file for the XML file) file(s) for the file you are attaching for import, you can verify them against this DTD file(s) before attaching them to the job. In order to use this check, the Validate with DTD check box must be selected before you attach any file.

An attached file can be removed from the list using the Remove button. Once all files are selected and attached and their content types are specified appropriately, click the Done button to initiate the upload of the file(s) from the client system to the application server for further processing.

Once the files in the list are uploaded and attached to the job successfully, the dialog box closes, and you are back on the “CMS Import Job: <Your Job Code>” dialog box. The list of files in the Files section is modified according to the files attached and uploaded for the job.

Location of Files

The file uploaded is saved in the location defined by the application server-specific DBA setting CMS_FILE_UPLOAD_DEST. The URL or the path where the file is to be uploaded can be verified by clicking Administration > Options.

The following dialog box is displayed.

File Upload URL- Options screen

The path displayed is the physical path set for CMS_FILE_UPLOAD_DEST on Application Server DBA Settings screen (Administration > DBA Settings) in Smart Materials application.

Application Server DBA Settings screen

Verify URL: You can verify whether the given location exists.

Set Default: If the path in the URL field appears blank, the default URL is set according to the application server settings on Application Server DBA Settings screen (Administration > DBA Settings) in Smart Materials application.