Replace Assembly Variables

You can use Find and Replace to update delimited variables to text values for a specific assembly.

Find and Replace is available for the assembly root and folder-level elements. All folders, leaf elements, and documents that are children of the root or a folder on which you perform a find and replace are searched and instances of the search criteria are replaced.

When you create an assembly from a template that contains delimited variables, you can use Find and Replace to replace those variables with unique values for the assembly. For example, if a template contains [docbase]/ regulatory/[product]/substance for the document path, you could search for [docbase] and replace it with the name of your repository.

When you perform a find and replace:

— The find and replace values are limited to 500 characters.

— Values must be text values.

— No validation is performed on the values you enter.

For find and replace in a working view:

— Attributes of folders from previous sequences are searched.

— Attributes of read-only leaf elements from previous sequences are not searched.

Note: Although some attributes in folders from previous sequences appear to be read-only, they are modified by the find and replace because some of the attributes affect publication of XML for the current sequence.

Replace an Assembly Variable

You can use Find and Replace to update delimited variables to text values for a specific assembly.

You cannot undo a find-and-replace action. To restore changed values, you must perform another find-and-replace action.

It is strongly recommended that you create an assembly version before using Find and Replace, so you can revert to the original version if something is replaced in error. It is also recommended that you carefully choose the text to replace.

To find and replace a variable in an assembly:

  1. Click a link for the assembly you want to search.
  2. Right-click the element you want to search.
  3. Choose Find and Replace.
  4. In the Find and Replace dialog box, choose one of the following:

    Ennov InSight Publisher 7.3

    Replace Assembly Variables

    Option Description
    Text Search: Searches all text attributes.
    Date Search : Searches date attributes.
  5. In the Find what box enter the text value or date to find.
  6. In the Replace with box, enter the replacement value or date.
  7. Click OK.
  8. To view the replaced values, click .

Replaceable Assembly Variables

You can use Find and Replace to update delimited variables to text values for assembly root and folder-level elements.

Element Attribute
Folder Name
Output folder
Keywords
Extended publishing attributes
Leaf Name
Output file
Keywords
Extended publishing attributes
Document Name
Title
Category
Source Location
Source Document
Due Date
Owner
Keywords