Tutorials > Content management > Create a content-managed resource > Make the resource content managed
Register the resource manager XML file
Procedure
- In the Enterprise Explorer view, navigate to Enterprise Applications > WC > XML > content-management > xsd.
- Right-click wc-resource-managers.xsd and select Generate > XML File.
- In the Enter or select the parent folder field, type WC/xml/content-management/.
- In the File Name field, type myco-catalog-resource-managers.xml.
- Click Next.
- In the Root element drop-down menu, select ResourceContainer.
- Leave all other defaults and click Finish.
- The XML file automatically opens with XML Source Page Editor. Close it so that you can reopen it in the XML Editor.
- Right-click myco-catalog-resource-managers.xml and select Open With > XML Editor.
- Click the Design tab at the bottom.
- Right-click wc:ResourceContainer and select Add Child > wc:ManagedResources.
- Expand the wc:ManagedResources > wc:ManagedResource.
- Right-click wc:ManagedResource and select Add Attribute > resourceKeys.
- 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
- Save and close the XML file.