Define the name and value of one or more custom parameters for an entry in the configitem element that has its name attribute set to pdf.param_list. You can create common parameters that are shared across all books, or book-specific ones.
Procedure
- Navigate to your collection directory.
- Open wietmsd_prg.xml for editing.
- Find the
configitem element that has its name attribute set to pdf.param_list. The content of this element is a semicolon-separated list.
- Add the name of your custom parameter(s) to this list. For example, if the the element currently contains the string
ietm_version, adding pub_number and pub_date results in an element that looks as follows:
<configitem name="pdf.param_list">ietm_version;pub_number;pub_date</configitem>
- Save and close the wietmsd_prg.xml file.
- Open wietmsd.xml for editing.
- Do one of the following:
- To add your parameter as a common, cross-publication parameter, find the section called "LiveContent PDF Headers and Footers."
- To add your parameter as a publication-specific parameter, find the section called "Configuring PDF Headers and Footers."
- Declare the parameter name and its value in this section.
- For example, to add
pub_number, add the following.
<configitem name="pubNumber.value">3.0.1</configitem>
- For example, to add
book_description, add the following.
<configitem name="bookDescription">book_description</configitem>
- For example, to add
cdVersion, add the following
<configitem name="cdVersion.value">CD 6.5</configitem>
- If you want to add your parameter as a publication-specific parameter, declare the parameter value in the publication configuration.
For example, to add a book description to the BIKE publication, add the following as a child element of the
book element with its
name attribute set to the value
BIKE.
<configitem name="bookDescription">S1000D BIKE demo</configitem>
- Save and close the wietmsd.xml file.
- Modify your custom skin to process the parameters you added.