Get Action Zips a page to a zip file and attaches it to the parent
Parameters
- pageName - the name of the page to zip
Usage:
/openForum/Actions/Zip?pageName=PageToZip
Server Side Javascript for GET method
if(typeof(pageName)=="undefined")
{
transaction.setResult(transaction.SHOW_PAGE);
}
else
{
transaction.userCanPerformAction(pageName,"update",true);
file.zipPage( pageName );
wiki.buildPage( pageName );
transaction.goToPage( pageName+".zip" );
}