Search

 

Module: Editor

Version: 2.2.1 +

Type:String

Category: Document

 

Description

The formula 'GetRelativePathToDataFiles' returns the path to the data directory where the Futurama xml-files are stored, relative to the path of the Futurama webapplication. This formula can be used when you want to give the location of a file (for example an image) in an XSLT or a HTML file. In this situation you cannot use the formula 'GetPathToDataFiles'. This is because you cannot use an absolute path to files in website mode. As an alternative for using the formula 'GetRelativePathToDataFiles' to get the relative path to files you can use the REL_FOLDER property that can be used in a 'HTMLInclude' and an 'XMLConverter'. See the description of these Futurama Objects to get information how to use this property.  

Parameters

There are no parameters for this function.

Example

Description

Suppose that the Futurama xml-files are stored in the folder 'c:\inetpub\wwwroot\futurama\test'. The path to the Futurama webapplication is 'c:\inetpub\wwwroot\futurama'. Use the formula 'GetRelativePathToDataFiles' to find the relative path.

Result

As result you will get: test\

Updated: 2013-03-25