Add or Edit Parameter Entry Dialog Box

Applies To: Windows Server 2008 R2

Use the Add Parameter Entry or Edit Parameter Entry dialog box to specify the Type, Scope, and Match values for your parameter.

UI Elements

Element Name Description


Use the drop-down list to select or change the parameter type that you want to use for the attribute that is being parameterized. Possible parameter types are Xml File, Text File, Text File Position, Provider Path, Deployment Attribute, Destination Binding, Destination Virtual Directory, or SQL Command Variable. For example, if you created a Database Connection String parameter, you might select Xml File in the drop-down list because the connection string will be located inside a Web.config file, which is in XML format.


Enter or edit a scope for the attribute that is being parameterized. This value is a required regular expression. For example, if Xml File is the parameter type, you might use the regular expression \\web.config$ for the scope. The first backslash escapes the second backslash, and the dollar sign ($) stops the match string at the end of the line. Thus, "\web.config" will be the resulting scope. For more information about regular expressions, see Regular Expressions.


Type or edit an expression that will identify the attribute to be parameterized. This value depends on the type. In some cases it will be a regular expression or an XPath expression. The Xml File type requires that the matching value be an XPath expression. Following the previous example, you could use the XPath expression //connectionStrings/add/@connectionString to match the connection string entry inside a Web.config file.

See Also


Select Parameters Page
Export Application Package and Export Server Package Wizard Pages