Book Image

Web Content Management with Documentum

Book Image

Web Content Management with Documentum

Overview of this book

One of the world leaders in Enterprise Content Management, the EMC Documentum family of applications helps you manage all types of content across multiple departments within a single repository. With the Web Content Management suite of applications, you can efficiently manage content and underlying processes for your Web properties, and ensures that they are responsive to business needs. To fully realize the power of this system can seem daunting, but this book will help you achieve that. With easy to follow examples, this book will take you the simplest and most straightforward route to success. Along the way, you will learn insights that only a seasoned professional would know. Packed with practical examples, you will get hands-on with the powerful features of Documentum to grow your skills and confidence. You will see tips and tricks to handle complexities of the system, and avoid the common errors that waste your time. From installing and getting started with Documentum, you will see how to design and develop Documentum applications, before rounding off with deployment.
Table of Contents (33 chapters)
Web Content Management with Documentum
Credits
About the Author
Acknowledgements
Preface
Frequently Asked Questions and Answers

18.4 Populating Repeating Attributes using Automatic Property Extraction


Let us create a template file that allows content creators to enter names of multiple books as well as the names of their authors in a repeating block.

We will develop a custom XML Application that will populate the authors multi-valued repeating property of a document with the names of authors entered in the Template file.

  1. 1. Create and import a template in Web Publisher (say Second_XMLApp_Template.xml) and attach it to dm_document object type with Default Lifecycle. The Template file Second_XMLApp_Template.xml follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <BOOK>
    <REPEATBLOCK>
    <BOOKNAME/>
    <AUTHORNAME/>
    </REPEATBLOCK>
    </BOOK>
    

    Create a Rules file (say Second_XMLApp_TemplateRule.xml) for the above template and associate the Template file with this Rules file. The Rules file Second_XMLApp_TemplateRule.xml follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <rules>
    &lt...