imWorkOptions.xml

NOTE:

The imWorkOptions.xml file was called iwOfficeAddinsConfig.xml in the previous releases.

You can use the imWorkOptions.xml file to customize the user experience of the iManage Work integration with Microsoft Word, Excel, PowerPoint, Visio, and MS Project. For example, you can customize the iManage Work dialog boxes, the footer format of iManage Work files created using Microsoft Word, iManage Work file caption format, and so on.

You can use the following keys and options for customization:

Option/Key

Description

iManage.Import.DocClass

Specifies the default document class when saving files to iManage Work as a new document.

NOTE:

  • This option is applicable only for saving new documents not for new versions.

  • The default doc class and default email class are no longer read from the default classes configured for the server. These two values will be read only from the imWorkOptions.xml file.

  • If the iManage.Import.DocClass and iManage.Import.EmailClass options are missing in the file, "DOC" is used as the default document class and "E-MAIL" is used as the default email class.

Default value: DOC

Example:

<key name="iManage.Import.DocClass" value="DOC"/>

If the default document class is left blank, that is, the value string is empty, a blank Class field in the iManage Save dialog box and users are prompted to enter a document class when saving documents.

iManage.Import.EmailClass

Specifies the default email class when saving emails to iManage Work as a new document or new version.

Default value: Email

Example:

<key name="iManage.Import.EmailClass" value="E-Mail"/>

FileSave

Used to map the Microsoft Office's File->Save (idMso) command to a predefined iManage Work command ID, for example, "iManage.WorkSiteSavenSync". By mapping to the "iManage.WorkSiteSavenSync" command, you can save edits to iManage Work when the File->Save operation is performed.

Default value: Empty

NOTE:

This setting is intended for Citrix users.

Example:

<key name="FileSave" value="iManage.WorkSiteSavenSync"/>

ValidateCheckoutLocation

Used to validate the checked out file's location against the logged in user's current machine.

Default value: Y

If this value is set as N, only the file's checkout path is validated during check-in.

NOTE:

This setting is intended for Citrix users.

Example:

<key name="ValidateCheckoutLocation" value="Y"/>

iwOnlyKeepLatestVersionatLocal

Ensures that only one version of the file is kept in the "Recent" directory. By default, whenever you save the document as a new version, the previous version of the document will be deleted from your local directory. Valid values: "Y" or "N"; "true" or "false".

Default value: Y

Example:

<key name="iwOnlyKeepLatestVersionatLocal" value="Y"/>

footer

Includes the following keys:

  • iwFooterFormat: Specifies the format of the document footer. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

  • AutoInsert: Specifies whether you want to automatically insert the iManage document profile information into the footer. The auto insert operation is triggered when a new version or a new copy of the document is saved to iManage Work.

Default value: As specified in the example

Example:

<ws_option name="footer" applyToAll="true">
<key name="iwFooterFormat" value="#{imProfileDocNum}v{imProfileVersion}<{imProfileDatabase}> - {imProfileDescription}" />
<key name="AutoInsert" value="N" />
</ws_option>

To ensure that the footer is inserted automatically a document is saved to iManage Work, set the value of the AutoInsert key to Y. If the automatic insertion of footers feature is enabled, the iManage footer replaces any existing custom footer in documents.

NOTE:

  • The iwFooterFormat key has been moved from the common section to the footer section. Uncomment the footer section to enable the settings included in it.

  • An advanced footer integration can be achieved by writing your own custom Microsoft Office plugin, for example, to allow merging of the iManage footer with your existing custom footers. For more information refer to the Plugins for iManage Work Desktop for Windows section in iManage Work Desktop for Windows SDK Guide 10.1.1.

  • For the list of the members of the WSProfileAttributeID enumeration that is used in the iwFooterFormat key and the other keys mentioned in the following text, see WSProfileAttributeID enumerators .

iwFileCaptionFormat

Specifies the document caption format in the Microsoft Office applications: Word, Excel, and PowerPoint. The value can be combined with other text or characters. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: #{imProfileDocNum}v{imProfileVersion}<{imProfileDatabase}> - {imProfileDescription}

Example:

<key name="iwFileCaptionFormat" value="#{imProfileDocNum}v{imProfileVersion}<{imProfileDatabase}> - {imProfileDescription}" />

iwFileNameSizeFormat

Formats the file name and size information when sending emails using the MailTemplate.oft file. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: {imProfileDescription}.{imProfileExtension} ({imProfileSize})

Example:

<key name="iwFileNameSizeFormat" value="{imProfileDescription}.{imProfileExtension} ({imProfileSize})" />

iwAttachmentFileNameFormat

Formats the file name information when sending it as an email attachment.

Default value: {imProfileDescription}({imProfileDocNum}.{imProfileVersion}.{imProfileExtension})

Example:

<key name="iwAttachmentFileNameFormat" value="{imProfileDescription}({imProfileDatabase}.{imProfileDocNum}.{imProfileVersion}.{imProfileExtension})" />

iwPurgeRecentAgeThreshold

Whenever you open a file from iManage Work using the iManage Work Desktop for Windows application, a copy of the file is downloaded to the %AppData%\Roaming\iManage\Work\Recent folder. Unless deleted manually, the files remained in the folder. To prevent files from accumulating and unnecessarily increasing hard disk space usage and to prevent the risk of accidentally deleting files that were taken offline, the Purge feature automatically removes files that are older than a configurable number of days from the Recent folder.

Default value: As specified in the example

Minimum value: 1

<key name="iwPurgeRecentAgeThreshold" value ="30"/>

NOTE:

  • System or hidden files, such as, .ini, .prf, and .cmt are not purged.

  • iManage files that are checked out, modified offline, or newly created offline are excluded.

  • Purged files are moved to the local recycle bin instead of being permanently deleted.

Microsoft Office Backstage view keys

In the Backstage view, the document details string is displayed using the two keys as follows:

"iwBackstageFileFormatSection1" + " " + "iwBackstageFileFormatSection2"

iwBackstageFileFormatSection1

Used for displaying the first part of the document details string in the Backstage view. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: {imProfileDescription}.{imProfileExtension}

Example:

<key name="iwBackstageFileFormatSection1" value="{imProfileDescription}.{imProfileExtension}"/>

images/download/attachments/63807969/Part1-Screen_Shot.png

iwBackstageFileFormatSection2

Used for displaying the second part of the document details string in the Backstage view. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: | v{imProfileVersion} | #{imProfileDocNum} | {imProfileAuthor} | {imProfileEditDate} | {imProfileSize}

Example:

<key name="iwBackstageFileFormatSection2" value="| v{imProfileVersion} | #{imProfileDocNum} | {imProfileAuthor} | {imProfileEditDate} | {imProfileSize}"/>

images/download/attachments/63807969/Part2-Screen_Shot.png

iwDocumentShortcutFormat

Used for displaying the shortcut of files under My Favorites in the Backstage view; the default value will be the description only. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: {imProfileDescription}

Example:

<key name="iwFileShortcutFormat" value="{imProfileDescription}"/>

iwFileShortcutDescriptionFormat

Used for displaying a shortcut document's target information. The same string can also be found in iwAddinExtensionRes.dll. It uses the members of the WSProfileAttributeID enumeration, with "{" and "}" around them.

Default value: Shortcut to document {imProfileDocNum} in library {imProfileDatabase}

Example:

<key name="iwFileShortcutDescriptionFormat" value="Shortcut to document {imProfileDocNum} in library {imProfileDatabase}"/>

images/download/attachments/63807969/Screen_Shot_2017-11-28_at_4.44.30_PM.png

iwUseFileName4NewVersion

Sets the new document version's description field based on the local file name, instead of using the description of the existing version.

Valid values: "Y" or "N"; "true" or "false"

Default value: N

Example:

<key name="iwUseFileName4NewVersion" value ="N"/>

iManage Work Agent options

workagent

Helps in monitoring the progress of background tasks, for example, printing, check-in, checkout, and so on.

Includes the following keys:

  • CountThreshold keys: Automatically cleans up old notifications from iManage Work Agent when the specified number is reached.

  • AgeThreshold options: Automatically cleans up old notifications from iManage Work Agent after the specified number of days.

  • NonIntegratedProcesses: Includes a comma-separated list of non-integrated applications that cannot lock the file while editing.

  • RestrictOriginsToRegisteredServers: When enabled, iwl calls through localhost are accepted from the URLs for the user's registered servers. Default is "N" (no restriction).

  • AllowedOrigins: A comma-separated whitelist of additional origins (server URLs) allowed to invoke IWLs through localhost. When not configured, there are no restrictions.

  • HideAgentAutoUpdateMenu: When enabled, Auto Updates-related menu options in the Work Agent are not visible to your end-users.

    NOTE:

    • The HideAgentAutoUpdateMenu registry setting in the HKEY_CURRENT_USER\Software\iManage\Work\10.0\Client hive is overwritten by this configuration.

    • The changed setting applies 1 minute after the Work Agent is restarted or 30 minutes after the option is changed in the configuration file.

Example:

<ws_option name="workagent" applyToAll="true">
<key name="NotificationCountThreshold" value="50"/>
<key name="NotificationAgeThreshold" value="7"/>
<key name="AttentionCountThreshold" value="50"/>
<key name="AttentionAgeThreshold" value="7"/>
<key name="NonIntegratedProcesses" value="notepad"/>
<key name="RestrictOriginsToRegisteredServers" value="N"/>
<key name="AllowedOrigins" value=""/>
<key name="HideAgentAutoUpdateMenu" value="N"/>
</ws_option>

Notifications for checkedout files

iwCheckoutOverdueAgeThreshold

iManage Work Desktop for Windows reminds users that they have documents checked out that they need to check in. By default, users see iManage Agent notifications if documents are left checked out for more than six hours.

Specify the number of hours after which the user is reminded if documents remain checked out.

Default value: 6

Example:

<key name="iwCheckoutOverdueAgeThreshold" value="6"/>

iwUseCheckoutOverdueReminder

Enable or disable the reminder that warns the user about the documents that remain checked out.

Valid values: "Y" or "N"

Default value: Y

Example:

<key name="iwUseCheckoutOverdueReminder" value="Y"/>

iwDocCloseReminderTimeOfDay

Specify the time of the day when the user is reminded to close the checked out documents. For example, if the user generally leaves office at 6.30 pm, change the default time to 18:30.

Valid values: hour:minute (24-hour format)

Default value: 16.30

Example:

<key name="iwDocCloseReminderTimeOfDay" value="16:30"/>

iwDocCloseReminderSnoozeDuration

Specify the duration in minutes after which the close documents reminder reappears if the user closes it.

Value range: 5-30

Default value: 10

Example:

<key name="iwDocCloseReminderSnoozeDuration" value="10"/>

iwDocCloseReminderMaxSnoozeNum

Specify the number of times the close documents reminder appears before being dismissed for the day.

Value range: 1-10

Default value: 3

Example:

<key name="iwDocCloseReminderMaxSnoozeNum" value="3"/>

iwUseDocCloseReminder

Enable or disable the reminder that warns the user to close the document that remain checked out after the specified time of the day.

Valid values: "Y" or "N"

Default value: N

Example:

<key name="iwUseDocCloseReminder" value="N"/>

Additional options

DefaultOpen

Includes a list of actions available in the iManage Work Open dialog box. You can modify them using the following keys. You can set the values of these keys to any desired string. For example, the iwAttemptOpen key can be set to "Open My Document".

Default value: As specified in the example.

Example:

<ws_option name="DefaultOpen" applyToAll="false" >
<key name="iwAttemptOpen" value="Open" />
<key name="iwAttemptOpenReadOnly" value="Open Read-Only" />
<key name="iwAttemptOpenasCopy" value="Open as Copy" />
<key name="iwAttemptOpeninProtected" value="Open in Protected View" />
</ws_option>

Default options:

images/download/attachments/63807969/Screen_Shot_2017-11-28_at_4.48.30_PM.png

After setting the iwAttemptOpen key to "Open My Document":

images/download/attachments/63807969/Screen_Shot_2017-11-28_at_4.55.01_PM.png

documentLinkCommands

The following keys provide the default options in the iManage Work Browse dialog box to insert the selected document as a hyperlink (IWL link). The first option inserts the link to the latest version of the selected document, and the second option inserts
the link to the current version of the document. You can set the values of these keys to any desired string. For example, the "iwAttemptInsertLink2Latest" key can be set to "My Latest Document".

Default value: As specified in the example

Example:

<ws_option name="documentLinkCommands" applyToAll="false" >
<key name="iwAttemptInsertLink2Latest" value="Latest" />
<key name="iwAttemptInsertLink2ThisVersion" value="This Version" />
</ws_option>

audit

Determines whether or not to enable and log the audit history events related to the Print operation.

Default value: As specified in the example

Example:

<ws_option name ="audit" applyToAll="false">
<key name="EnableAuditWordPrint" value="Y"/>
<key name="EnableAuditExcelPrint" value="Y"/>
<key name="EnableAuditPowerPointPrint" value="Y"/>
<key name="EnableAuditProjectPrint" value="Y"/>
<key name="AuditWordPrintPages" value="IWEnumAuditPrintPageType.All"/>
<key name="AuditExcelPrintPages" value="IWEnumAuditPrintPageType.None"/>
<key name="AuditPowerPointPrintPages" value="IWEnumPrintType.None"/>
</ws_option>

integration

Define the options used by iManage Work Desktop for Windows the integration with Microsoft Office.

Default value: As specified in the example

Example:

<ws_option name="integration" applyToAll="true">
<key name="PassiveMode" value="N"/>
<key name="WordDocumentOpenFilter" value="All Word Documents (*.docx,*.docm)|WORDX,WORDXT"/>
<key name="ExcelDocumentOpenFilter" value="All Excel Files (*.xlsx,*.xlsm)|EXCEL,EXCELX"/>
<key name="PowerPointDocumentOpenFilter" value="All PowerPoint Presentations (*.pptx,*.ppt,*.pptm,*.ppsx,*.pps,*.ppsm,*.potx,*.pot,*.potm,*.odp)|PPTX,PPT"/>
<key name="VisioDocumentOpenFilter" value="All Visio Files (*.vsdx,*.vsdm)|VSDX,VSDM"/>
<key name="ProjectDocumentOpenFilter" value="All Projects Files (*.mpp,*.mpt)|MPP,MPT"/>
</ws_option>

iManage Work Desktop for Windows supports a passive integration mode with Microsoft Office. In passive integration mode, the functionality of the Open and Save operations remain unchanged. To enable passive integration, set the value of the PassiveMode configuration to "Y".

iwReEnabledAddinOption

Determines the automatic re-enabling behavior for the disabled iManage add-ins for Microsoft Outlook, Word, PowerPoint, Excel, Visio, and MS Project when you launch the applications the next time.

Example:

Valid values:

0: Add-ins are automatically enabled and an iManage Work Agent notification is displayed the next time the user launches the applications.

1: Add-ins not enabled automatically and users can manually enable them as desired.

2: iManage Work Agent prompts the user to enable the add-in the next time the user launches an integrated application. If the user selects Yes, the Agent displays a notification that the add-in is enabled.

Default value: 0

Example:

<key name="iwReEnabledAddinOption" value ="0"/>

adobeconversion

Enables users to choose the Adobe convertor for saving documents as PDFs to iManage Work using the iManage > Save as PDF option in integrated Microsoft Office applications.

Valid values: "Y" or "N"

Default value: N

Example:

<ws_option name="adobeconversion" applyToAll="true">
<key name="Enabled" value="N"/>
</ws_option>

shellexecute

Enables you to reduce security vulnerability by blacklisting certain file types to prevent users from opening or printing these files using iManage Work Desktop for Windows or the iManage Work web client.

NOTE:

Certain file types are already hardcoded in the application to block them from using the ShellExecute function in Windows for example, executables and JavaScript files. As a result, users cannot open or print these type of files.

Valid values: File extensions in the lowercase separated by commas. For example, if you do not want rich text format and text files to be printed, change the value to "txt, rtf".

Default value: Empty

Example:

<ws_option name="shellexecute">
<key name="blacklist" value=""/>
</ws_option>

coauthoring

For more information, refer to the Customizing the User Experience in Office Applications section in iManage Work Co-Authoring Guide 10.2.