Installing Caché Classes and Populating the Database
Open Studio. Click File —> Change Namespace to connect to the namespace in which you will be working. The USER namespace is a good choice.
Click Tools —> Import Local.
Browse to the directory containing Contacts.xml. Click on Contacts.xml. Click Open and then OK to load and compile the classes.
After the classes are installed and compiled, use Terminal to populate the database with sample instances of the classes. All classes have been configured for use with the population utility. Here are the steps to follow:
Open Terminal in the namespace in which you installed the Caché classes. If terminal opens in a different namespace, use the ZN command to switch to the correct namespace.
Execute the Fill method of Provider.Utilities. This method clears all existing Provider.Contact and Provider.PhoneNumber instances from the namespace and then adds 25 Provider.Contact and 100 Provider.PhoneNumber instances.
USER> do ##class(Provider.Utilities).Fill()
To learn how to create a new Caché namespace, read the discussion of “Configuring Namespaces” in the Configuring Caché section of the Caché System Administration Guide.
To learn more about using Studio, read Using Studio.
To learn more about using Terminal, read Using Terminal.