Document Developer - instructions > Making the document dynamic > Exposing a Story in Composition Center

Exposing a Story in Composition Center
Stories you create in StoryTeller can be made available to use in Composition Center Document Definitions. For example, in StoryTeller you can design a transaction table with a dynamic number of rows. By exposing it in Composition Center, business users can use this table in their Document Definitions.
Note:
Click to enlarge
Figure 49
You must deploy the Project to a Composition Center enabled StreamServer Process for the Story to be available in Composition Center. For more information see the Composition Center documentation.
Note:
To expose a Story in Composition Center
1
2
Example 50
In this example, a utility company uses slightly different invoices for different customer categories. All invoices list charges per fixed telephony, mobile telephony, Internet connection etc. Since gold customers always use more than one service, their invoices also display the charges as a chart.
The invoice is designed in StoryTeller. The texts and images related to the different customer categories are managed in StreamStudio Composition Center.
The chart intended for gold customers is designed in a Story in StoryTeller. The Story is exposed. In Composition Center, the Story is added to a section and a rule is created. The rule states that the chart is only included in output when the Customer category = Gold.
When output is generated, the list of charges and the chart are created from input data.
 
 
OpenText StreamServe 5.6 Updated: 2013-03-01