User-defined publication properties

Previous Next

In addition to system-defined publication properties, you can add your own name/value pairs. These are referred to as user-defined publication properties.

New user-defined publication properties must be added to the initial document by means of <meta> tags:

<meta name="us:<name>" content="${<value>}"/>

The name of a property is prefixed by 'us:' to give it a namespace. The reason for this name spacing is that there are a number of names that already have a meaning. A <meta> tag can be read and used elsewhere in the application by using the following call:

$.udb.settings.get("<name>")

An example of a user-defined publication property is an ImageDir property that contains a value for the location where images are stored that are used in the web application.

You can refer to the value of a user-defined property by using the

${property name}

placeholder in your scripts, for example in JavaScript.

See Also

The Publication Configuration Window

Publication Attributes

System-Defined Publication Properties

Referring to Publication Settings