Publish

Checks for objects imported into the system and publish the objects so that they are available to everyone.

Syntax

publish {datasource|rowsource|dimension|stagemap|cube|constraint} definitions

or

publish {datasource|rowsource|dimension|stagemap|cube constraint|dbconnection worksheet|workbook|reporttemplate|keymetric|analysistype} definition object_name

Arguments

object_name—Name of the object to publish.

Description

When publishing, Integrated Operational Planning checks to ensure that the object model is valid.

Publish commands refer to the following schemas supported by Integrated Operational Planning.

Examples

The following example publishes row source, data source, dimension, and stagemap definitions.

# Set the model schema to edit mode.
 
alter model schema set current edit
 
# Set the schema to shadow in backend and clear any previous information.
 
set schema shadow
clear schema shadow
 
# Publish row source and dimension defintions to shadow schema.
# These "macro" commands publish the imported data sources, row sources, dimensions, and stagemaps.
# This way you don't need to remember to publish one object at a time.
 
publish rowsource definitions
publish datasource definitions
publish dimension definitions
publish stagemap definitions
 
# Push object definitions from shadow schema to base schema.
 
alter system restructure

The following example publishes cube and constraint objects. Publish cubes after you publish and restructure dimensions.

# Set the model schema to edit mode.
 
alter model schema set current edit
 
# Set the schema to shadow in backend and clear any previous information.
 
set schema shadow
clear schema shadow
 
# Publish cube and constraint defintions to shadow schema.
# These "macro" commands publish the imported cube and constraint definitions.
# This way you don't need to remember to publish one object at a time.
 
publish cube definitions
publish constraint definitions
 
# Push object definitions from shadow schema to base schema.
alter system restructure