Working with Microsoft Word Documents

If you have Microsoft Word installed on your computer, you can create and import Microsoft Word documents directly from within Microsoft Dynamics NAV.

Note

Creating attachments with a trial version of Microsoft Office is not supported.

Creating and Modifying Microsoft Word Documents as Attachments from Within Microsoft Dynamics NAV

When you create Microsoft Word documents as attachments from within Microsoft Dynamics NAV, the new Microsoft Word document that appears contains mail merge fields from the program, for example, the contact number, name, address. You can use these merge fields to complete the document.

You can create Microsoft Word Documents from two different places in the program, the Interaction Templates window and the Segment window:

  • In the Interaction Templates window, you can set up attachments for your interaction templates. When you create interactions using the Create Interaction wizard or from the Segment window, you can open and modify these attachments in order to customize and personalize them.

  • In theSegment window on the Interactions FastTab, you can select an interaction template that does not include an attachment, and then create your own Microsoft Word document as an attachment.

Only the Microsoft Word document you have opened from Microsoft Dynamics NAV is linked to the program. If you create a new Microsoft Word document from within Microsoft Word, even if you create it from the document linked to Microsoft Dynamics NAV, that new document will not be linked to Microsoft Dynamics NAV. If you want to link it to an interaction template or an interaction in the program, you must first import it.

See How to: Create Microsoft Word Documents as Attachments, How to: Create Interactions, and How to: Import Attachments for more information.

Closing Microsoft Word

The documents that you open from Microsoft Dynamics NAV are independent from the other Microsoft Word documents that you have opened before or while the document that is linked to the application is open. This means that if you close Microsoft Word from a document that is not linked to Microsoft Dynamics NAV, the program will not close the open Microsoft Word document linked to Microsoft Dynamics NAV.

When you exit Microsoft Word from the document linked to Microsoft Dynamics NAV (by clicking the arrow at the top right-hand corner or by clicking File, Exit), a dialog box appears where you are asked if you want to save the changes made in the document and import it again into the program.

Important

When you are working in a Microsoft Word document opened from within Microsoft Dynamics NAV, you cannot return to work in the program before you have closed Microsoft Word.

Saving Microsoft Word Documents

If you save the Microsoft Word document linked to Microsoft Dynamics NAV (by pressing Ctrl+s, or by clicking File, Save), the program will record the changes in the document. However, when you close Microsoft Word, you will be asked again if you want to save the changes and import the document into the program.

If you save the Microsoft Word document linked to Microsoft Dynamics NAV on a disk file by clicking File, Save as, you still have the possibility to save the changes you have made within Microsoft Dynamics NAV, when you close Microsoft Word.

Important

When working in the Interaction Templates window, if two or more users simultaneously open and modify an interaction template attachment (Microsoft Word Document), the program only saves the changes made by the first user to import the document into Microsoft Dynamics NAV again. The changes made by the other users will not be recorded because the program will not recognize the original document. For this reason, you may want to coordinate the changes you make in interaction template attachments in the Interaction Templates window.

See Also

Tasks

How to: Create Interactions for Segments
How to: Set Up Interaction Templates

Other Resources

Interaction Templates