Document Management in Dynaway EAM
Document management in Dynaway EAM for Dynamics 365 Business Central enables you to store, organize, and manage files related to assets, work orders, and maintenance activities. Documents can be stored in a central storage area and linked to multiple records for easy access and reuse.
Dynaway EAM supports three main options for storing documents. Go to Document Storage Setup and select one of the option:
-
Embedded (Business Central Internal Storage)
- Stores documents directly in the Business Central database.
- No external configuration required.
-
Azure Blob Storage
- Stores documents in Microsoft Azure Blob Storage.
- Requires configuration of:
- Azure Account Name
- Azure Key Storage Id
- Azure Blob Storage Container
- "Enable Azure Storage" must be set to true. Integration cannot be disabled if documents are already using Azure Blob Storage.
-
SharePoint
- Stores documents in Microsoft SharePoint.
- Requires configuration of:
- SharePoint Base URL
- AAD Tenant Id
- Client Id
- Scope
- Base Folder
- Storage Id
- Supports secure authentication via Azure AD.
SharePoint Setup Steps:
- Register the SharePoint application in Azure for Business Central. Include the Redirect Web URL:
https://businesscentral.dynamics.com/OAuthLanding.htm
- Configure permissions for the application in Azure Portal.
- Generate an Application Client Secret in Azure Portal.
- In Business Central, go to Document Storage Setup and select SharePoint as the Storage Provider. Set up the following values:
- Site URL: The SharePoint Site URL (avoid special characters in the site name)
- AAD TenantId: Tenant Id of the SharePoint (same as Microsoft Entra Id for BC)
- Client Id: Application (client) ID from Azure App Registration
- Client Secret: Secret value created in Azure
- Scope:
<SharePoint URL>/.default (e.g., https://yourcompany.sharepoint.com/.default)
- Base Folder: Use Assist Edit (…) to choose the base folder for files
- Subfolders: Optionally set folders for each document type
- Set up metadata columns in SharePoint for additional data (e.g., Asset No., Work Order No.).
- In Business Central, configure metadata fields and entity fields to map BC data to SharePoint columns.
- Enable Sync Metadata in Document Storage Setup to finalize the setup.
Viewing Additional Information About Files in SharePoint
When using SharePoint as your storage provider in Dynaway EAM, you can send metadata (additional information) along with your documents. This enables you to view and manage extra details directly in SharePoint.
How to set up additional metadata columns in SharePoint:
- In your SharePoint space, select 'Add column'.
- Name the column and choose a type ('Single line of text' or 'Multiple lines of text').
- Disable 'Add to all content types'.
- For 'Single line of text', set a max length (up to 255 characters). For 'Multiple lines', enable 'Allow unlimited length in document libraries' (up to 63,999 characters, but BC limit is 2,048).
- Complete the setup in SharePoint, then finish the connection in Business Central.
Set up the connection in Business Central:
- Go to Document Storage Setup and select the three dots in 'Metadata Fields'.
- Define:
- Meta Field (BC source field, e.g., Work Order No.)
- Enabled (relation status)
- SharePoint Field Name (must match SharePoint column name)
- SharePoint Field Length (max 255 for single line, 2,048 for multiple lines)
- In 'Metadata Entity Fields', define:
- Entity Type (BC record source)
- Meta Field (source field)
- Select Service Authorization and provide the required certificate.
- Enable 'Sync Metadata' to finalize setup.
- After syncing, you can view the information in SharePoint.
Metadata Actions:
- Send Data – Sends metadata updates
- Show Buffer – View processed data sent to SharePoint
- Show Document Queue – View entities waiting to be sent
- Create Job Queue Entry – Automate metadata updates
The default storage provider is selected in the Documents Setup table. All necessary fields for Azure and SharePoint integration are available and validated to ensure proper setup and security.