Installing Tutorial Files
A standard Caché installation includes a set of XML files containing Caché classes and CSP pages that accompany the tutorial's exercises and examples. The files are in install-dir\Dev\Tutorials\CSP. They can also be downloaded from here. Install the classes and CSP pages by importing them into Caché using Studio:
Open Studio and connect to the namespace in which you will be working (most likely USER). Click File —> Change Namespace to connect to the desired namespace.
On the Studio menu bar, click Tools —> Import Local. Browse to the correct file. Click on the file and then click Open.
On the Import dialog make certain that all the available items are selected and that both Add Imported Items to Project Compile Imported Items are checked. Click OK. Caché imports and compiles the items.
Populate the CSPTutorial.Contact (Part I of the tutorial) or CSPTutorial.Contact and CSPTutorial.PhoneNumber (Part II of the tutorial) with sample data. Read Populating Contact and PhoneNumber for instructions.
Here are descriptions of the files that accompany the different parts of the tutorial:
Part I Files
PartIStarter.xml — Contains the CSPTutorial.Contact class definition. Install this file and populate the class to complete the Part I examples and exercises.
PartIExerciseSoln.xml — Contains the solutions for the Part I exercises: Exercise1.CSP and Exercise2.CSP.
Part II Files
PartIIStarter.xml — Contains both the CSPTutorial.Contact and CSPTutorial.PhoneNumber classes and the SignIn.CSP and Error.CSP CSP pages. Install these files and populate the classes to complete the Part II examples and exercises.
PartIIExerciseSoln.xml — Contains the solutions for the Part II exercises: Contact.CSP, PhoneNumber.CSP, and AddPhoneNumber.CSP.
In a standard Windows installation, install-dir is C:\InterSystems\Cache.