Back to product page

RelativePath property


Holds relative path of virtual folder, as seen by the user.

Type

A String value.

Syntax

  • Basic
object.RelativePath [= value]
The RelativePath(object) syntax has these parts:
objectAn expression evaluating to an object of type VirtualFolder.

Remarks

RelativePath property contains path, as seen by connected user, where virtual folder should 'show up'. Typically, this will be something like "/home/joe" meaning that when user changes path to "/home/joe" he will see one more folder you specified in Name property. If he changes path and selects that folder, he will still see relative path, but will be pointed to ResolvedPath location on your file system.

RelativePath property supports wildcards as well. If full relative path matches given wildcard pattern, VirtualFolder will be shown in the path. For example, it is allowed to use '*' for RelativePath - and VirtualFolder will be shown in each directory accessed by the user.

To prevent user from entering recursive paths and unlimited levels of recursion, you might want to use Visibility property.

Platforms

Windows