Get Inherited File Path
Favourite Pages
{{pageEntry.pageName}}
Signed in as {{currentUser}} {{avatar}}
Sign Out
Sign In as Different User
OpenForum
Actions
GetInheritedFilePath
Get Action
Returns the inherited path of at file
Parameters
pageName - the name of the page to start at
fileName - the name of the file to get the inherited path for
Usage:
/OpenForum/Actions/GetInheritedFilePath?pageName=PageName&fileName=FileName
Server Side Javascript for GET method
if(typeof(pageName)=="undefined") { transaction.setResult(transaction.SHOW_PAGE); } else { fileName = transaction.getParameter("fileName"); path = file.getPageInheritedFilePath(pageName,fileName); if(path==null) { path="null"; } transaction.sendPage( path ); }
An error has occurred.
{{OpenForum.errorMessage}}
See technical details
×
Error details.
{{OpenForum.error}}
×
{{OpenForum.alert.title}}
{{OpenForum.alert.message}}
×