Associating a content management system document to an item
When you add or update an item, you can associate a content management system document to an item after you locate the document in the content management system. Unstructured content, for example, product images, specification data sheets, warranty documents, flash and video demonstrations provides relevant and necessary context to products, and hence must be associated with products.
Before you begin
- Install and configure IBM® Content Integrator.
- Configure the content management system by using the configuration file.
- Define a spec.
- Add an external content reference type attribute to the spec.
Procedure
Associate a document to an item. Use any one of the following
methods: search results, adding content or Java™ API.
Option | Description |
---|---|
Search results |
|
Adding content |
|
Java API | The following sample Java API code associates a content
reference to an item attribute after you add a content.
Note: The following two statements should not
be called repeatedly in a Java API.
Otherwise,
this can lead to OutOfMemory or an increase in the number of applications that are
connecting to the Content Management System from collaborative MDM. The following sample code uses
these statements correctly.
|