Configuring Metadata Updates
This documentation outlines the configuration steps required to enable the new Metadata Process in Generate using the EDFacts Metadata Repository (EMDR) API.
The settings are adjusted in the appsettings.json
file, which controls the Generate Web application for fetching and updating metadata.
Metadata Update Using Web Service API
To configure metadata updates via the EMDR Web Service API, modify the following settings in the appsettings.json
file:
useWSforFSMetaUpd: Set this to
"true"
to use the web service for metadata updates. If the server does not have an internet connection, set this to"false"
to avoid attempting a web service connection.fsWSURL: If the web service is being used for metadata updates, set this to the following URL:
Metadata Update Using Files Stored on the Server
If metadata updates are performed using files stored on the server, configure the following settings:
fsMetaFileLoc: Set this to the directory path where the metadata file is stored.
fsMetaESSDetailFileName: Specify the file name of the ESS metadata.
fsMetaCHRDetailFileName: Specify the file name of the Charter metadata.
fsMetaESSLayoutFileName: Specify the file name for the ESS layout.
fsMetaCHRLayoutFileName: Specify the file name for the Charter layout.
Backup and Recovery
To handle metadata update failures and ensure data integrity, configure backup and recovery settings:
bkfsMetaFileLoc: Set this to the directory path where the backup metadata file is stored.
reloadFromBackUp: Set this to
"true"
to automatically reload metadata from the backup file if the primary metadata update process fails.
Refreshing Metadata
To refresh metadata directly from the Generate UI, follow these quick steps:
Navigate to the gear icon in the top-right corner of the screen.
Select "Metadata" from the dropdown menu.
Click on the Refresh Metadata button to initiate the update.
For more in-depth instructions, refer to the full metadata management guide.
Last updated