Parastream™ PagePorter™

Substitution

A custom control that implements the FrontPage Substitution (“Substitution”) control.

FpSubstitution displays site variables on web pages. The site variables are maintained in the Parameters page of the Site Settings dialog.

FpSubstitution must be hosted in a project that has a valid web metadata file (usually _config/service.cnf or _vti_pvt/service.cnf). If not, the control will throw an exception at design-time and runtime.

Public Instance Properties

Property Summary
Variable The variable name to use for substitution, or one of the following special names:
  • Page-URL – Displays the URL of the page hosting the control.
  • vti_author – Displays the author of the page hosting the control, obtained from the page’s vti_author metadata variable.
  • vti_description – Displays the description of the page hosting the control, obtained from the page’s vti_description metadata variable.
  • vti_modifiedby – Displays the user who last modified the page hosting the control, obtained from the page’s vti_modifiedby metadata variable.

If Variable does not exist in the site variables, the variable name itself is displayed.

See Also

Web Controls | Working with Site Variables