About replacing a Forms tool design

Workspace members who have Designer access can replace a Forms tool design with the design from another Forms tool. Although Forms tool designers can always update a Forms tool application's design directly in the tool, designers may sometimes opt to use a "Replace Design" process for the following reasons:

Appropriate uses of Replace Design

The use of Replace Design is most appropriate only under the following circumstances:

Designers who have access to the Forms designer in the production Forms tool should avoid using Replace Design to introduce smaller, incremental design updates. This is because the Replace Design operation replaces every design object in the tool (even those that are identical to the ones replacing them). Depending on the size and complexity of the Forms tool design, this activity may push large numbers of updates to all workspace members.

Caution: Replace Design literally replaces every single design object in the target Forms tool with a new version (though the new versions of most of these design objects are typically exactly the same as the previous ones). Replacing a Forms design via a Forms tool that contains significantly different design objects will likely have significant impact on access to and the appearance of existing records. For example, if the design used for replacement contains few (or none) of the fields contained in the original Forms tool, records that used these fields will probably be lost.

Setting up a Replace Design process

For optimal results, it's best to use the following general steps for setting up a Replace Design process:

  1. Do all Forms design work in the production Forms tool until it's ready for deployment -- that is, until it's ready for workspace invitees to become members and start adding records.

  2. Before inviting members, save the workspace as a template.

  3. Create a new workspace using the workspace template.

    You will now have two workspaces, each of which contains Forms tools with identical design objects. The copy of the Forms tool in the new workspace can be used as design "master", meaning that from now on you will make ALL design updates via the Forms designer in this Forms tool.

  4. In the production Forms tool, run the Replace Design process, referencing the workspace that contains the master Forms tool template.

Alternatively, instead of saving the original workspace as a template, you could save the original Forms tool as a template. You could then add this Forms tool to another workspace or even to the same workspace. Some Forms designers might opt to create a workspace that simply contains a set of Forms tools used as design masters.

About the results of replacing a Forms tool design

When you replace a Forms tool design, you replace the set of design objects (that is, all forms, views, fields, macros, scripts, and styles) in the current Forms tool with those of the Forms tool you select in the Replace Design dialog box. The resulting set of design objects will have these characteristics:

About changing field types using Replace Design

In some cases it might be possible to change a field's type using Replace Design (for example, from a Date to a Date/Time field, or from a Text to a Multiline Text field). However, this practice is generally not recommended for the following reasons:

About changing field properties using Replace Design

Replace Design is highly effective for making changes to field properties. However, just as with changing field properties directly in a production Forms tool, some changes to field properties may impact data in existing records. When making these changes, Forms designers should always be careful to consider whether the changes may enforce new restrictions on allowable data.

For example, suppose the original Forms tool includes a List Box field that allows multiple selections, but you update this property in the master Forms tool so that it allows only a single selection, and then replace your design. Any existing records that previously contained multiple selections in the List Box field will actually continue to store them, but only until the first time the record is edited. At that time, only one selection will be allowed in the List Box field, and initially, no values will be selected.