Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / All-Topics

How to Reuse Template Parts

0.00/5 (No votes)
1 Dec 2011CPOL1 min read 9.3K  
How to reuse Template Parts in InfoPath.

If you want to base the design of a new template part on an existing template part, you must open the existing template part, change its name in the Template Part Properties dialog box, and then save the new template part with another, distinguishing file name. When you change the template part name in the Template Part Properties dialog box, the template part ID is updated automatically. This ID further distinguishes one template part from another.

  1. On the File menu, click Design a Form Template.
  2. Under Open a form template in the Design a Form Template dialog box, click on My Computer.
  3. In the Files of type list, click InfoPath Template Parts.
  4. Browse to and click the template part that you want to open, and then click Open.
  5. On the File menu, click Properties.
  6. In the Template Part Properties dialog box, enter a new name in the Template part name box.
  7. When you do this, the identifying text in the Template part ID box reflects the new name. The template part ID is generated automatically by InfoPath. It must be unique for each new template part that you create.

  8. On the File menu, click Save As, and enter a new file name for the template part.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)