GetWebDirectory

Metreos.Native.ApplicationResources.GetWebDirectory

Summary

GetWebDirectory is used to retrieve the Web directory file path and URI.

Usage

The Web folder feature in the Cisco Unified Application Designer allows a developer to bundle in files and directories in the application package; these files are placed in a particular location on the Cisco Unified Application Server when the application is installed, and all Web folder-located files are also given HTTP access. The GetWebDirectory action allows a developer a way to programmatically determine both the physical file system location and the HTTP-rooted URI of the Web folder, and any contents within that folder.

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
ApplicationNameSystem.StringThe name of the application to determine the Web directory for. If not specified, the name of the current application is used.
SubpathSystem.StringA path to a folder or file contained within the Web directory. Either '/' or '\' can be used as the path seperator. If you specify this relative path, do not include the root Web directory, and the inclusion of a leading seperator is optional. If this field is not specified, then the filepath and URI to the Web directory is returned.
Result Data
Parameter Name.NET TypeDescription
FilepathSystem.StringThe full filepath to the Web directory for the application. The subpath will be appended to the Web directory path if specified.
UriSystem.StringThe HTTP-rooted URI to the Web directory for the application. The subpath will be appended to the Web directory path if specified.

Branch Conditions 

Success

No description.

Failure

No description.