BeyondERP.Newsletter
Menu

Setup step on the Document management parameters page · Organization administration

Set up Document management parameters

Use this page to control how attachments are stored, previewed and kept, including the SharePoint connection and which file types users can attach.

Business process
Administer system features
Menu item
DocuParameters
Main table
DocuParameters
Data entity
DocuParametersEntity
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you set the company-wide options for attachments, such as storage, allowed file types, previews, size limits, history and recovery.
What you do hereUse this page to control how attachments are stored, previewed and kept, including the SharePoint connection and which file types users can attach.
ExampleFor example, an on-premises environment that doesn't need attachment previews can set the Office Web Apps Server field to https://localhost, so users see a "No preview available" message instead of an error.
Document management parameters page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Set up Document management parameters1 screen

Use this page to control how attachments are stored, previewed and kept, including the SharePoint connection and which file types users can attach.

  1. Screen 1

    Review the document management parameters

    Go to Organization administration > Document management > Document management parameters

    1. Open the General tab
    2. Review whether active document tables are used, the maximum file size, document history and deferred deletion
    1Use active document tablesNo
    2Maximum file size in megabytes50
    3Enable document historyYes
    4Deferred deletion enabledYes
    5Number of days to defer deletion30
    Review the document management parameters (zoomed on the outlined fields)
    Show the full screenReview the document management parameters
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Organization administration > Document management > Document management parameters.
  2. On the SharePoint tab, check the Default SharePoint server host name that the system detects.
  3. Optionally, run the SharePoint connection test to confirm that security and licensing work.
  4. On the File types tab, remove file types that users shouldn't attach and add the ones they need.
  5. On the General tab, set the Maximum file size in megabytes and, if needed, turn on Open attachments in new window.
  6. In the History section, turn on Enable document history and set the Number of days to retain history.
  7. In the Deferred deletion section, turn on Deferred deletion enabled and set the Number of days to defer deletion.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Default SharePoint serverThe SharePoint host name used to store attachments, which the system detects automatically.Microsoft Learn DefaultSharePointServer
Office Web Apps ServerThe Office Online Server instance that shows attachment previews.Microsoft Learn WebAppsServerURL
Use active document tablesWhen set to Yes, only the tables on the Active document tables list can have attachments.Microsoft Learn NoActiveTable
Maximum file size in megabytesThe largest file size allowed for an attachment.Microsoft Learn 50MaxFileSizeInFileSystem
Open attachments in new windowSets whether attachments open in place or in a new window or tab.Microsoft Learn OpenAttachmentsInNewWindow
Enable document historyTurns the history of attachment actions on or off.Microsoft Learn YesRetainHistoryEnabled
Number of days to retain historyHow long attachment history is kept; the default is 180 days.Microsoft Learn
Deferred deletion enabledTurns on the recycle bin, so deleted attachments can be recovered.Microsoft Learn YesDeferredDeletionEnabled
Number of days to defer deletionHow long deleted attachments can be recovered; 0 keeps them recoverable with no time limit.Microsoft Learn 30NumDaysToDeferDeletion

Common errors and fixes

MessageWhat to do
Invalid length for a Base-64 char array or string.Select Token refresh next to the Office Web Apps Server field on the General tab. Microsoft Learn

Test checklist

  1. Turn on Deferred deletion enabled and set Number of days to defer deletion.
  2. Attach a file to a customer record, then delete it.
  3. Use the undo link in the Attachment deleted notification, or Deleted attachments on the Attachments page, to restore it.
  4. Select Document history and check the create, delete and restore actions are listed with the user.
  5. If SharePoint is used, run Test interactive SharePoint connection and Test batch SharePoint connection.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Document management parametersDeferred deletion enabled = Yes and Enable document history = Yes; leave Use active document tables = No unless you must restrict attachments; Open attachments in new window = Yes when SharePoint is usedAttachments deleted from Azure Blob storage can't be recovered without deferred deletion, and history gives an audit of attachment actions. Opening attachments in a new window stops the user session being reset when SharePoint files open.Turning on Use active document tables without listing every table that needs attachments: attachments are then disabled on all other tables.Test: Deleted attachment can be recovered

Number sequences

ReferenceShared or per companyNote
IDPer companyBEAT uses number sequence Docu_3. Checked in Dynamics 365

Feature management and licence

Feature to turn onSharePoint user authentication (Optional)

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: The options can be changed at any time. But attachments deleted while deferred deletion was off are permanently gone.
If you change it laterTurning on Use active document tables blocks attachments on every table that isn't on the Active document tables list, so turn it on only when you need it. Microsoft Learn
Technical architect

6Technical

Menu itemDocuParameters Checked in Dynamics 365
FormDocuParameters Checked in Dynamics 365
TableDocuParametersShown as “Document management parameters” in Record infoChecked in Dynamics 365
Data entitiesDocuParametersEntityDocument management parameters Microsoft data model
Roles to set it up and use itTo set it up or change itInformation technology manager SysServerITManagerProduction manager ProdProductionManagerTo use itElectronic reporting functional consultant ERFunctionalConsultantElectronic reporting developer ERDeveloperGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, Edit, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=DocuParameters
Integrate withDocuParametersEntity data entity Microsoft data model
Data migrationDocuParametersEntity (Document management parameters): loaded for each company.Microsoft Learn
Table definitionDocuParameters columns and relations Microsoft data model
Everyone

8Sources

To cite this step: OA-DOC-030, Set up Document management parameters. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/OA-DOC-030