User options in MacroView DMS and DMS Pro can be configured by:
- Changing settings in the Options dialog
- Deploying to users with Group Policy or Microsoft Intune
- Deploying a configuration file in the Central Configuration Location
If settings are deployed using Group Policy, these will take precedence over all other settings, including those defined in a configuration file in the central location.
Any setting that has been defined in the configuration file will then be disabled (greyed out) in the Options dialog so the user is unable to change them.
Deploying the settings
To deploy the user options via the Resource Library:
- Define the options to deploy in the UserOptions.json.config JSON configuration file (supplied at the bottom of this article).
- Upload the configuration file to the Config folder located in the resource library defined under Options>Support>Central Configuration Location.
- If the resource library does not contain a folder named Config, create a new folder with this name and upload the file there.
UserOptions.json.config file syntax
The userOptions.json.config sytax requires a JSON format.
Boolean value accepted are: false, "false", "False", 1 or "1"
Examples
"LanguageCulture": "en-AU",
"DeleteOnSave": false,
"ChildNodesToTriggerFilter": 200,
"SaveAttachmentType": 1,
The UserOptions.json.config file fails to parse (and is therefore ignored) if the JSON file is invalid. This is for example the case when using True or TRUE instead of a boolean true but not when using a string value "true" instead of a boolean true.
You only need to include entries for the settings which you wish to lock down.
Specials note regarding personal email filing rules
When deploying personal filing rules via configuration the file all quotation marks (") within the XML string must be escaped with a backslash as quotation marks are reserved characters in JSON.
Example
<IncomingWorkflowRules xmlns=\"http://schemas.datacontract.org/2004/07/MacroView.DMF.Outlook.Rules\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><Rules xmlns:a=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\"><a:anyType i:type=\"IncomingWorkflowRule\"><Expressions><a:anyType i:type=\"WorkflowExpression\"><KeywordMatchType>All</KeywordMatchType><Keywords>dlouie@macroview.com.au</Keywords><CaseSensitive>false</CaseSensitive><MailProperty i:type=\"ExpressionProperty\"><DisplayName>From</DisplayName><PropertyName>FromSMTPAddresses</PropertyName></MailProperty><MatchEntireWord>false</MatchEntireWord></a:anyType></Expressions><RuleEnabled>true</RuleEnabled><SavePath>https://macroview365.sharepoint.com/sites/DennisTestMVSP/matter2</SavePath><Name>test</Name><SaveWebAppPath>https://macroview365.sharepoint.com</SaveWebAppPath><Scope i:nil=\"true\"/><AllowInsertingTag>false</AllowInsertingTag></a:anyType></Rules></IncomingWorkflowRules>
Sample configuration file
Click here to download a sample configuration file containing all available settings.
Note: Your configuration file should only contain the settings you wish to lock down. Any other settings can be deleted from the configuration file.
Version Support
- MacroView DMS or DMS Pro 8.9.349 or later