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. win10中以管理员身份启动notepad、cmd、editplus

    win10中以管理员身份启动notepad.cmd 在开始菜单中输入,出现了之后再进行右键点击,选择管理员身份运行: 而且editplus也可以“管理员身份运行”,再也不用担心我改不了hosts了: ...

  2. Log4cplus入门

    Log4cplus使用指南 1.  Log4cplus简单介绍 log4cplus是C++编写的开源的日志系统,前身是java编写的log4j系统.受Apache Software License保护 ...

  3. js 淘宝评分

    <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content ...

  4. TSRC挑战赛:WAF之SQL注入绕过挑战实录

    转自腾讯 博文作者:TSRC白帽子 发布日期:2014-09-03 阅读次数:1338 博文内容: 博文作者:lol [TSRC 白帽子] 第二作者:Conqu3r.花开若相惜 来自团队:[Pax.M ...

  5. 微信小程序-封装请求(GET、POST)

    使用:先导入到util.js 最后在页面上导入util.js(路径自改) var util = require('../../util.js'); 使用示例GET:util.SEND(url,'GET ...

  6. swoole新手教程01-环境搭建及扩展安装

    写在前面的废话 <swoole源代码分析>已经写了13章,整个swoole的核心架构基本都分析的差点儿相同了.于是心里一直以来想整理swoole的文档并写一份教程的想法就再度浮了出来. 实 ...

  7. 现在有一张半径为r的圆桌,其中心位于(x,y),现在他想把圆桌的中心移到(x1,y1)。每次移动一步,都必须在圆桌边缘固定一个点然后将圆桌绕这个点旋转。问最少需要移动几步。

    // ConsoleApplication5.cpp : 定义控制台应用程序的入口点. // #include "stdafx.h" #include<vector> ...

  8. chessy 提高篇系列 阅读笔记

    java提高篇(一)—–理解java的三大特性之封装 封装的好处, 汇聚属性和方法 减少修改对 其他处的影响 控制get和set方法. java提高篇(二)—–理解java的三大特性之继承 继承的好处 ...

  9. andeoid硬件解码

    Finally, I must say, finally, we get low-level media APIs in Android, the Android hardware decoding ...

  10. activiti自己定义流程之Spring整合activiti-modeler实例(六):启动流程

    1.启动流程并分配任务是单个流程的正式開始,因此要使用到runtimeService接口.以及相关的启动流程的方法.我习惯于用流程定义的key启动,由于有多个版本号的流程定义时,用key启动默认会使用 ...