GES Workshop - CM - Tester
GES Workshop - CM - Tester
Content Store
A Framework Manager project has been deleted and there is no backup. To help
recover the partial model, you will extract the model information from a package that
was published from this model and which is saved in the content store.
You will:
• Log on.
• Username - admin
• Password - Education1!
Extract model information from a package.
cm_tester.htm •
Notepad •
Recreate the model in Framework Manager.
Framework Manager •
Notepad •
Framework Manager •
If you need more information to complete a task, see the Step-by-Step instructions at
the end of the Workshop.
This indicates you can connect to the content store through Content Manager.
4. Click Close, click Close again, and then click Log on.
5. In the Security Namespace box, type LDAP_ID.
/content/folder[@name='Samples']/folder[@name='Models']/*
In the response window, there are several folders and several packages under
the Public Folders > Samples > Models path. Folders will have an <item>
element that appears as <item xsi:type="cm:folder"> and packages will have an item
element that appears as <item xsi:type="cm:package">.
<item xsi:type="cm:package">
<defaultName xsi:type="cm:tokenProp">
<value xsi:type="xsd:string">GO Data Warehouse (analysis)</value>
</defaultName>
<item xsi:type="cm:package">
<defaultName xsi:type="cm:tokenProp">
<value xsi:type="xsd:string">GO Sales (analysis)</value>
</defaultName>
<item xsi:type="cm:package">
<defaultName xsi:type="cm:tokenProp">
<value xsi:type="xsd:string">GO Sales (query)</value>
</defaultName>
<item xsi:type="cm:folder">
<defaultName xsi:type="cm:tokenProp">
<value xsi:type="xsd:string">Interactive Samples</value>
</defaultName>
There are several more sections like this in the response. One is for the GO
Data Warehouse (query) package and the other is for the Samples folder.
If this was a versioned model there would be multiple instances of these project
tags. Preceding each set of project tags the model would be a section that looks
similar to the following,
<item xsi:type="cm:model">
<defaultName xsi:type="cm:tokenProp">
<value xsi:type="xsd:string">2010-02-22T04:11:47.358Z</value>
</defaultName>
<model xsi:type="cm:anyTypeMIMEProp">
<value xsi:type="xsd:string" xml:space="preserve">
The date-time value in the above identifies the versioned model. The latest
version of the model will have the latest date-time assigned to it. These values
can be useful in comparing changes between the published model versions.
When extracting a model using cm_tester, ensure that the contents of only one
set of project tags are included in the new model file.
8. From the File menu, click Language, and then select XML. The XML
elements should now be in blue text and XML attributes should be in red text.
9. From the File menu, click Save, and then navigate to D:\Temp.
10. In the File name box, type model.xml and click Save.