Subsite.getDirectoryURLInfo (Method)

Returns a structure providing directory information for the subsite.

Returns:

Subsite_GetDirectoryURLInfo_Struct (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
CustomScriptDir DirectoryPath The directory where custom scripts are located.
CustomScriptURL ServerRelativeURL The custom script directory's server-relative URL.
ImagesDir DirectoryPath The directory where images are located.
ImagesURL ValidURL The image directory's URL.
PresentationDir DirectoryPath The directory where files for the PowerPoint element are located.
PresentationURL ServerRelativeURL The presentation directory's server-relative URL.
SubsiteDir DirectoryPath The current subsite's directory.
SubsiteURL ServerRelativeURL The subsite directory's server-relative URL.
TemplateDir DirectoryPath The directory where templates are located.
TemplateURL ServerRelativeURL The template directory's server-relative URL.
UploadDirPrivate DirectoryPath The directory where a public and secure uploaded documents are located.
UploadDirPublic DirectoryPath The web accessible directory where a copy of public uploaded documents are located.
UploadURL ServerRelativeURL The upload directory's server-relative URL.

Arguments:

Name Type Required Description
subsiteIDOrURL SubsiteIDorURL_EmptyString Required The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None