Tutorials > Content management > Create a content-managed resource > Make the resource content managed

< Previous | Next >


Register the resource manager XML file


Procedure

  1. In the Enterprise Explorer view, navigate to Enterprise Applications > WC > XML > content-management > xsd.

  2. Right-click wc-resource-managers.xsd and select Generate > XML File.

  3. In the Enter or select the parent folder field, type WC/xml/content-management/.

  4. In the File Name field, type myco-catalog-resource-managers.xml.

  5. Click Next.

  6. In the Root element drop-down menu, select ResourceContainer.

  7. Leave all other defaults and click Finish.

  8. The XML file automatically opens with XML Source Page Editor. Close it so that you can reopen it in the XML Editor.

  9. Right-click myco-catalog-resource-managers.xml and select Open With > XML Editor.

  10. Click the Design tab at the bottom.

  11. Right-click wc:ResourceContainer and select Add Child > wc:ManagedResources.

  12. Expand the wc:ManagedResources > wc:ManagedResource.

  13. Right-click wc:ManagedResource and select Add Attribute > resourceKeys.

  14. Fill in the fields for wc:ManagedResource...

    Field Value
    Name EXTCATALOGDSC
    resourceManagerClassname com.mycompany.catalog.content.resources. ExtendedCatalogDescriptionResourceManager
    resourceClassName com.mycompany.catalog.objects.ExtendedCatalogDescriptionAccessBean
    resource EXTCATALOGDSC
    managed true
    id 1
    resourceKeys CATALOG_ID, LANGUAGE_ID

  15. Save and close the XML file.

< Previous | Next >


+

Search Tips   |   Advanced Search