Attachment Exists
Favourite Pages
{{pageEntry.pageName}}
Signed in as {{currentUser}} {{avatar}}
Sign Out
Sign In as Different User
OpenForum
Actions
AttachmentExists
Get Action
Checks if an attachment exists. Returns true or false
Parameters
pageName - The page containing the attachment
fileName - The attachment to check for
Server Side Javascript for GET method
if(typeof(pageName)=="undefined") { transaction.setResult(transaction.SHOW_PAGE); } else { fileName = transaction.getParameter("fileName"); exists = file.attachmentExists(pageName,fileName); transaction.sendPage(exists); }
An error has occurred.
{{OpenForum.errorMessage}}
See technical details
×
Error details.
{{OpenForum.error}}
×
{{OpenForum.alert.title}}
{{OpenForum.alert.message}}
×