Get Action Checks if a page exists. Returns true or false
Parameters
- pageName - The page to check for
Server Side Javascript for GET method
if(typeof(pageName)=="undefined")
{
transaction.setResult(transaction.SHOW_PAGE);
}
else
{
fileName = transaction.getParameter("pageName");
exists = file.pageExists(pageName);
transaction.sendPage(exists);
}