Configuring a Word
Merge
 in SmartSimple is a three-step process:

  1. Create the MS Word document that will be used as the template. This page describes the process to add form fields to your Word document.
  2. Upload the Word document to a SmartFolder.
    (See Uploading
    Word Merge Document to a SmartFolder
     for instructions.)
  3. Create the Special
    - MS Word Merge
     custom field that maps the SmartSimple fields you wish to merge to the Word template.

Your Word document will contain Form Fields which are linked to "Bookmarks." The SmartSimple Word Merge field will be configured to match the bookmarks up with SmartSimple variables in the third
step
.

In this step, you will add the Form Fields and assign Bookmarks to each field in your Word document that is to be merged. The steps vary slightly in different versions of Word.

Note that SmartSimple's Word Merge feature works with all versions of MS Word. As opposed to using the user's version of Word to create the merged document, the merge is performed by SmartSimple's Word Merge engine using an programmatic object compatible with MS Word (all versions). Once the merge is launched, SmartSimple streams the resultant document back to the client’s browser where the extension of the streamed document (*.doc, *.docx, etc.) will trigger the launching of MS Word. If the user does not have MS Word on a Windows machine, the process will simply open whatever program is associated with the document's extension.

Take note of all the Bookmarks that you add to the Form Fields below. They will be used in step 3: creating
an MS Word Merge custom field
.


MS Word 2000-2003

  • From the View Menu select Toolbars and enable the Forms Toolbar
  • Click in your Word document wherever you wish to insert a Form Field.
  • On the Forms Toolbar click on the first button to insert a Form Field into your document: 
  • Right-click on the Form Field and select Properties. Then provide a name for the field in the Bookmark section.

MS Word 2007

  • Click on the Menu button and select Word Options
  • In the Popular section, select Show Developer Tab in the Ribbon
  • Click in your Word document wherever you wish to insert a Form Field.
  • On the Developer Menu select the Legacy Tools icon which is in the Controls section: 
  • On the Legacy Forms menu click the first icon to insert a Form Field.
  • Right-click on the Form Field and select Properties. Then provide a name for the field in the Bookmark section.

MS Word 2010/2013

  • Click in your Word document wherever you wish to insert a Form Field.
  • Click on the Developer tab.
  • If the "Developer" tab is not visible, click on File > Options > Customize Ribbon, and check off the "Developer" tab in the right hand frame.
  • On the Developer tab, click on the Legacy Tools button: .
  • Click on the Text Form Field button

Word 2010

Word 2013

  • A Text Form Field will be inserted at the cursor location.
  • Right-click on the Form Field and select Properties. Then provide a name for the field in the Bookmark section.

In Word 2013, the document must be saved as a "Word 97-2003 Document":

Preparing Template for List View Export

List View Export to a Word Merge field required the fields used be Word Merge instead of the old bookmarks which is described above. This method will also work for Word Merge fields used outside
of the list view.

To ensure the list view export functions, fields must be created using the following:

  • In Word 2007 and higher, select Mailings from the ribbon menu.
  • If you haven't already, click on Select Receipients then Use Existing List.
When the Select Data Source dialog box appears, select a blank Excel document (or any existing Excel document you have accessible). This will enable the required buttons.
  • Click on Insert Merge Field.

  • Select the Address Fields radio button
  • With the first field on the list selected, click on Insert. The selected field name will now appear within the document.

    Ex. «Field_Name»
  • You can now close this dialog box.
  • To rename the newly added Word Merge field, right-click on the field and select Edit Field

  • You can now relabel the Field name with whichever name you wish to use.
  • Copy and paste this field to other parts of your document and rename accordingly.

Note: If you do not rename the field, then the data merged within will be the same for all like-named fields.

See Also

To set up a Word merge:

Advanced Word Merge Features Include:


Adding Form Fields to a MS Word Document的更多相关文章

  1. How to open MS word document from the SharePoint 2010 using Microsoft.Office.Interop.dll

    or this you must change the identity of word component inC:\windows\System32\comexp.mscto be interac ...

  2. ASP.NET MVC3 Dynamically added form fields model binding

    Adding  new Item to a list of items, inline is a very nice feature you can provide to your user. Thi ...

  3. 【转】How to view word document in WPF application

    How to view word document in WPF application (CSVSTOViewWordInWPF) Introduction The Sample demonstra ...

  4. How to Set Word Document Properties with C#

    Word properties shows a brief description about one document. Through properties, we can learn gener ...

  5. Send an email with format which is stored in a word document

    1. Add a dll reference: Microsoft.Office.Interop.Word.dll 2. Add the following usings using Word = M ...

  6. MS WORD 表格自动调整列宽,自动变漂亮,根据内容自动调整 .

    在MS WORD中,当有大量的表格出现时,调整每个表格的的高和宽和大小将是一件非常累的事情,拖来拖去,非常耗时间,而且当WORD文档达到300页以上时,调整反应非常的慢,每次拖拉线后,需要等待一段时间 ...

  7. MS WORD 表格自己主动调整列宽,自己主动变美丽,依据内容自己主动调整

    在MS WORD中,当有大量的表格出现时,调整每一个表格的的高和宽和大小将是一件很累的事情,拖来拖去,很耗时间,并且当WORD文档达到300页以上时,调整反应很的慢,每次拖拉线后,须要等待一段时间其才 ...

  8. Microsoft.Office.Interop.Word.Document.Open returns null on Windows Server 2008 R2

    系统终于通过UAT,可以上线了.一遍测下来还行,可是为什么word转PDF就是不行呢?查了一下log,原来在wordApp.Documents.Open来打开生产的word文件的时候,返回一直是空.之 ...

  9. MS Word 目录排版

    昨天整理一份把网页的内容复制粘贴到Word里的文件,碰到了这样一个问题: 网页上面也会有一级标题,二级标题,三级标题等.当我们在写博客的时候,也会去使用这些.这也就导致复制过来之后,直接生成的目录很乱 ...

随机推荐

  1. nginx如何设置防盗链

    关于nginx防盗链的方法网上有很多教程,都可以用,但是我发现很多教程并不完整,所做的防盗链并不是真正的彻底的防盗链! 一般,我们做好防盗链之后其他网站盗链的本站图片就会全部失效无法显示,但是您如果通 ...

  2. C 标准库 - <assert.h>

    C 标准库 - <assert.h> 简介 C 标准库的 assert.h头文件提供了一个名为 assert 的宏,它可用于验证程序做出的假设,并在假设为假时输出诊断消息. 已定义的宏 a ...

  3. FreeMark的list应用

    语法:<#if></#if>后台传送List,前台html页面中获取该list并显示: <#if userList?exists> <#list userLi ...

  4. 0x…… is not a valid instance ID怎么解决

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  5. UNP学习笔记(第十八章 路由套接字)

    路由套接字上支持3种类型的操作 1). 进程能通过写路由套接字向内核发消息. 2). 进程能通过路由套接字从内核读消息. 3). 进程可以用sysctl函数得到路由表或列出所有已配置的接口. 数据链路 ...

  6. VueJS路由

    Vue.js 路由 本章节我们将为大家介绍 Vue.js 路由. Vue.js 路由允许我们通过不同的 URL 访问不同的内容. 通过 Vue.js 可以实现多视图的单页Web应用(single pa ...

  7. 【原创】基于.NET的轻量级高性能 ORM - TZM.XFramework

    [前言] 接上一篇<[原创]打造基于Dapper的数据访问层>,Dapper在应付多表自由关联.分组查询.匿名查询等应用场景时不免显得吃力,经常要手写SQL语句(或者用工具生成SQL配置文 ...

  8. uva 1493 - Draw a Mess(并查集)

    题目链接:uva 1493 - Draw a Mess 题目大意:给定一个矩形范围,有四种上色方式,后面上色回将前面的颜色覆盖,最后问9种颜色各占多少的区域. 解题思路:用并查集维护每一个位置相应下一 ...

  9. 字符串各个字符ASCII值加5

    程序实现目标: 输入一个字符串,将其各个字符对应的ASCII值加5后,输出结果 程序要求:该字符串只包含小写字母,若其值加5后的字符值大于'z',将其转换成从a开始的字符. 分析:问题归结为三点: 1 ...

  10. MVC中的ViewData、ViewBag和TempData

    一.ViewBag和ViewData的定义 public dynamic ViewBag { get; } public ViewDataDictionary ViewData { get; set; ...