Why does a Word document exported from Task Capture using a custom template display an error message: "Word experienced an error trying to open the file"?
Issue Description
When exporting a Word document from Task Capture using a custom template, the following error may be encountered:
"Word experienced an error trying to open the file."
This issue typically arises due to incorrect formatting of placeholders within the custom template.
Resolution
- Correct Placeholder Formatting:
Ensure placeholders are formatted with a colon (:) instead of a hyphen (-). For example:
-
- Correct: Title: {TITLE}
- Incorrect: {TITLE} - title of the document
- Avoid Using Boolean Placeholders Directly:
Do not include the following boolean placeholders directly in the template, as they are intended for conditional use only:
-
-
- {IS_MOUSE}
- {IS_KEYBOARD_INPUT}
- {IS_KEYBOARD_SPECIAL}
-
- Remove Unnecessary Spaces:
Ensure there are no spaces after placeholders like {TITLE} to prevent formatting issues.
- Test the Modified Template:
After making the above adjustments, test the template by exporting a document from Task Capture to confirm that the issue is resolved.