Knowledge Center

601 - appsettings.json Reference

Updated on

appsettings.json Reference

Every setting, what it does, and the procedure for changing one.

Warning Consult GDSI before changing anything in appsettings.json.

How to apply a change

  1. Save and close appsettings.json.
  2. Run IISRESET as Administrator on the web server.
  3. Restart the GDSI.DMSyncArchiveService service.

Connection and identity

Setting
Purpose

iManageAdminName
The service account. A virtual account in the NRTADMIN group at the highest role.
iManageAdminPasswordEncrypted. Cannot be edited in plain text.
iManageAdminClientIdThe registered iManage application ClientID
FilesStorageUNC root for on-premises archiving. Every backslash must be doubled.
WebPortService port for the IIS web application
ArchiveServicePortService port for the application service

Archive behavior

Setting
Purpose

SetArchiveDocumentType
Change the archived document to ANSI from its native type
UseWorkspaceNameForArchivePrepend #ARCHIVE# to the workspace name
UseWorkspaceDescForArchivePrepend #ARCHIVE# to the workspace description
PrefixDocumentNameThe prefix applied to an archived document name
DocumentCommentText prefixed to the document Description field
UndeclareDeclaredAutomatically undeclare records-declared documents so they can be archived
DisableArchiveRuleWhenDoneDisable a rule once it has completed
ArchiveCheckinPeriodInYearsHow old a checkout must be before Archive checks it in automatically
BatchSizeArchive threads. Do not change without GDSI.

Restore behavior

Setting
Purpose

RequireRestoreComment
Force a comment on restore
RestoreValidateChecksumVerify the restored document matches the original size
RestoreArchiveDateRequiredForce a Date to Archive Again
MaxDaysOnReArchiveCap how far ahead that date may be set
RequestForRestoreRecipientsWho receives a Request to Restore. Comma-delimited.
RequestForRestoreEmailSubjectSubject line of that email

Scope filters

Setting
Purpose

ArchiveFilterFolders
Include only these folders
ArchiveFilterClassesInclude only these classes
ArchiveOutFilterFoldersExclude these folders
ArchiveOutFilterClassesExclude these classes
UseCustomFieldForArchiveNominate a CUSTOM3–12, 29 or 30 field carrying yes or no

Retry and rest period

Setting
Purpose

MaxArchiveRetryCount
How many times a failing document is retried before the request settles as Partial Success
CheckRetryPeriodInMinutesHow long to wait between retries
RulesMaintenancePeriod_TimeOfDayFromStart of the window in which all rules are paused
RulesMaintenancePeriod_TimeOfDayToEnd of that window

Warning Archives lock the Documents table and can deadlock DMSync command-line work. If your deployment also runs nightly core DMSync jobs, set the rest period so the two do not overlap. An unset rest period on such a deployment is a deadlock waiting to happen.

Add-ons

Setting
Purpose

ExtractDocumentsMetadataServerUrl
Metadata extraction service for stub indexing
DocumentsMetadataContainerNameContainer for that service
SolrUserName / SolrPasswordCredentials for the Solr indexing appliance
ApiClientId / ApiClientSecretBasic authentication for the Archive API
ArchiveLocationFormatOverride the default Custom1\Custom2\Class path shape

Note The Solr add-on restores searchability inside the stub, at the cost of the stub growing to roughly half the size of the original document.

Previous Article 504 - Failure Triage and Escalation
Next Article 602 - Rights and Groups