This example allows you to add and remove server groups, and also to modify their members.
In addition to the standard files (Start.csp, Logon.csp, RetrieveIStore and helper_js.csp), this example consists of the following pages:
Enables the user to select a server group on the APS and to add, delete, or modify the members of the server group. Calls ManageServerGroup.csp.
Handles adding and deleting a server group. Calls ChooseServerGroupMembers.csp if the user has chosen to manage servers within the group.
Enables the user to add and remove servers, as well as enabling them to add and remove group associates, from the group chosen on ChooseServerGroup.csp. It calls ManageServerGroupMembers.csp.
Adds or removes the servers, as well as adds or removes the group associates, that the user selected using ChooseServerGroupMembers.csp.
To download the CSP files for the example, click ServerGroupAdministration.zip.
Note: If you are using JavaScript, you will need to include the helper file, helper_js.csp which in Windows is placed by default in C:\Program Files\Crystal Decisions\Web Content\Enterprise\ePortfolio\
language and in Unix is placed in crystal\webcontent\enterprise\websamples\
language. Replace language
with the information appropriate to your version of Crystal Enterprise: use en for English or ja for Japanese.
Note: If you type a local path for the CSP file in the browser, the example will not run. You must specify an HTTP style address; for example, C:\Inetpub\wwwroot\example.csp
becomes http://localhost/example.csp.
Tip: If you want to use the name of the constant, instead of its value, you need to include the appropriate file: CeConstJS.inc for JavaScript, or CeConstVBS.inc for VBScript. Both files are placed by default in Windows in C:\Program Files\Crystal Decisions\Web Content\Enterprise\websamples
and in Unix in crystal\webcontent\enterprise\websamples.
Confirm that the constant that you are referencing by name is included in the .inc file that you are using or, if it is not included, add it.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |