Version: 2.2.1 +
The formula 'GetPathToDataFiles' returns the path to the directory where the Futurama xml-files are stored. In this directory frequently other files are stored. For example a subfolder 'members', containing a file members.xml with member data. By using the function 'GetPathToDataFiles', you don't have to fill in the entire path to the members.xml, but only the path relative to the directory where the Futurama xml-files are stored. If you have created a Futurama application stored at a certain server, you can copy the application to another server without changing all the paths to the files. It is also possible to use the formula 'GetRelativePathToDataFiles'. With the formula you get the path relative to the location where the Futurama xml-files are stored. If you created with Futurama a website application, use the formula 'GetRelativePathToDataFiles' in order to get the path to files you use in HTML (for example images).
There are no parameters for this function.
Suppose the Futurama xml-files are stored in the folder c:\inetpub\wwwroot\futurama\application. Within the application folder you created a subfolder 'Members' with a xml-file members.xml. By using the formulas 'Concatenate' and 'GetPathToDataFiles' you can refer to these xml-file: Concatenate(GetPathToDataFiles(),members\members.xml). This results in: c:\inetpub\wwwroot\futurama\application\members\members.xml