Saving to server
Use this procedure to save a mapping to the server. All save activity and information are logged on the Mapping Console view.
- Open the mapping in Mapper Editor.
- Right-click a blank space in Mapper Editor view. Select Save to Server....
- Select a mapping server location.
-
Optionally, click Test
Connection... to check the connectivity to the server.
If an error occurs, a message is displayed. Check your server connectivity to correct the error. Click OK to proceed.
-
Click Finish.
Note: If save to server action fails, the database is restored and the mapping is not saved. Take note of the error details and review your mapping or save logs.
-
The mapping is automatically validated before it is saved.
If there is a validation error or warning, a confirmation dialog will be shown. Click Yes to continue saving the mapping. Click No to abort the operation.
If there are validation errors or warnings, you can right-click in the mapping and select Validate to view the validation errors and warnings.
Note: To disable automatic validation on save, go to Window > Preferences > Mapper. In the Validation group, clear Validation On Save. -
Depending on whether the mapping to save already exists in the database, this table shows the next steps:
Mapping conditions If the mapping with the same name and version does not exist in the database. Steps Click OK to confirm to add the mapping to the database. Mapping conditions If the mapping already exists in the database. Steps: Select to overwrite the existing mapping in the database or to update the version of the mapping. Update creates a new version of the mapping in the database.
- Click Overwrite.
- Click Update
Version... to update the version of the mapping before saving
it to the database.
In the new window, specify a new version for the mapping. By default, 0.1 is added to the current version. For example, if the current version is 1.1, the proposed new version is 1.2. Change the new version, if necessary, and click OK to create a new version of the mapping in the database.
The mapping version is updated before it is saved to the database.
Note: Use Update Version... only when you want to create a new version of the mapping.While developing a mapping, overwrite the existing mapping in the database because there is no need to keep intermediate versions of the mapping.
When you create a new mapping version, you must first update the version of the mapping then overwrite the new mapping version, until the development is complete.
If a schema file or a custom JAR file has been added to or removed from the mapping since the mapping was saved in the Mapper Database the last time, an additional dialog will be shown. The added and removed files will be listed. Click Confirm to update the Mapper Database with the added or removed files. The mapping does not need to be unpublished. Click Cancel to abort the operation.