Get Action Returns the index held in an attachment then increments the value

Get Parameters


Server Side Javascript for GET method

if(typeof(pageName)=="undefined") { transaction.setResult(transaction.SHOW_PAGE); } else { fileName = transaction.getParameter( "fileName" ); data = file.incrementAttachment( pageName,fileName ); transaction.sendPage(data); }