Users can add new folders by clicking the New folder button in the Contents area. When the button is clicked, the GetNewFolderName
function is called. This function launches the newfoldername.csp form, passing in the current source ID and the current destination ID as part of the query string. After the user enters information into the form, it is submitted to viewmanager.csp
, along with the parameter value action=newfolder
.
The following is a conditional statement in viewmanager.csp
:
This statement ensures that if action=newfolder
, then the new folder name is retrieved, and the CreateFolder
function is called. The CreateFolder
function creates a new folder and commits the changes to the APS.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |