VirtualRoot Property (RenderingApplication Object)

The VirtualRoot property returns or sets the beginning of a URL. Read/write.

Syntax

objRendApp.VirtualRoot

Data Type

String

Remarks

The VirtualRoot property contains the common beginning of a set of HTTP paths, which normally correspond to disk paths on the server specified in the URL. VirtualRoot should always start with a forward slash (/).

Setting the VirtualRoot property causes the rendering application to create a special-purpose format with the name "virtroot". This format contains the string that was last set in VirtualRoot. The %virtroot% format can be used as a common beginning for HTTP paths when creating links to objects such as attachments.

Note that the VirtualRoot property contains an HTTP path at the browser, while the FormsRoot property contains an absolute disk directory path at Microsoft® Internet Information Server (IIS).

The VirtualRoot property defaults to "/exchange".