Create a publication environment for users
There are different methods otto provide publication capabilities on the Alfabet user interface:
- A configured report of the type Query , NativeSql , or Custom that displays a dataset that is returned by the query. The user can select one or multiple objects in the dataset and then trigger a publication. The publication functionality is displayed below the dataset and includes the necessary buttons to trigger the publication.
The objects selected in the dataset are the base objects for the publication. For first level publication nodes with a Source Type attribute set to None , the data about the selected object will be published. For first level publication entries with a Source Type attribute set to Query or NativeQuery , the selected objects can be referenced by means of the parameter BASE in the query defined for the publication entry.
- A configured report that displays only the publication functionality. The user can trigger the publication for base objects that are selected by one of the following methods:
- The first level publication entries of the publication has the Source Type attribute set to Query or NativeSql and the query defines the objects to be selected without a reference to a base object (in other words, without using the parameter BASE).
- The configured report is assigned to an object class via the Apply to Class attribute of the configured report. A selector is then displayed in the publication interface that allows an object to be selected as the base object for the configured report. The first level publication entries of the publication can either have the Source Type attribute set to None and configured to publish data about the current object, or have the Source Type attribute set to Query or NativeQuery . The query references the selected base object using the parameter BASE.
- A generic operation that opens the configured report triggering the publication is defined and will be available in data workbenches and content areas. The object the user is currently working with in the content area or has selected in a data workbench is the base object of the report. The first level publication entries of the publication can either have the Source Type attribute set to None and configured to publish data about the current object, or have the Source Type attribute set to Query or NativeSql . The query can reference the selected base object using the parameter BASE.