To configure external documents to your Networks Editor solution, add the following code to your app JSON.
{
"id": "document-management-service",
"configurations": [
{
"docBaseUrl": "",
"docNameField": "e.g. FileName",
"fileNameField": "e.g. FilePath",
"table": "e.g. VG_DOCUMENT"
}
],
"$type": "document-management-service"
},
•docBaseUrl: Base URL used to resolve relative document paths.
•docNameField: Field for the document name shown in the UI.
•fileNameField: Field for the document path (relative or absolute URL).
•table: Document table containing the above fields.
The External Documents functionality is available only if all of the following are set up:
1.A document table exists in the data model (for example, VG_DOCUMENT).
2.A Document Management Service is configured in the app JSON with:
•The service URL (docBaseUrl).
•The document table (table).
•The field containing the document URL/path (fileNameField),
•Optional: The display name field (docNameField).
3.Many-to-many (M:N) relationships exist between each asset class that should support document links and the document table.
When using the standard VertiGIS document configuration with the VG_DOCUMENT, the relationship classes setup is automatically configured.