resolveFileSystemURL


Purpose

Allows the user to look up the entry for a file or a directory referred to by a local URL.

Signature

resolveFileSystemURL(url, successCallback, errorCallback)

Returns

This method does not return anything.

Parameter

Name Description Type Use
url

A URL referring to a local file in a filesystem. It accepts various prefixes to file addresses:

  • For files located in the SHARED_AMONG_APPS filesystem:

    • file:///shared_persistent/

    • file:///shared_temporary/

  • For files located in the SHARED_AMONG_USERS filesystem:

    • file:///multiuser_persistent/

    • file:///multiuser_temporary/

    • file:///multiuser_shared_persistent/

    • file:///multiuser_shared_temporary/

  • When none of the above categories is selected, these two prefixes apply, depending on the window.TEMPORARY and window.PERSISTENT constants:

    • file:///persistent/

    • file:///temporary/

string required
successCallback A callback that is called to report the entry to which the supplied URL refers. EntryCallback required
errorCallback A callback that is called when errors happen, or when the request to obtain the Entry object is denied. ErrorCallback optional

Related topics

LocalFileSystem
Overview
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...