Overview - Custom Attributes for Information Sources

This page gives an overview of the solution that enables an end user, through configuration, to add Custom Attributes for Information Sources without having to do any programming or file deployment. A general overview of the solution is presented as well as some overview information related to source types, source relations, work flow and export/import functionality.

Contents

 

General

The described Custom Attributes functionality is related to Information Sources and should not be mixed up with custom attributes functionality as part of the Custom Fields functionality in IFS Applications. An Information Source consists of a Fact entity and zero or more Dimension entities. The functionality supports adding custom attributes to both these types of entities.

Note: Custom Fields specific attributes can of course be added as Fact or Dimension attributes, which means that it is easy for a customer to get access and to use Custom Fields specific attributes through Information Sources, e.g. used in IFS Business Reporter or IFS Lobby or as a read interface for integrations such as IFS Analysis Models and IFS EOI.

The functionality can be described as in the following picture.

Existing attributes can be removed completely or just unpublished and disapproved before added again but with modified definitions. It is of course also possible to add new attributes to an entity that once was published. Adding new attributes over time does not normally create any issues. Removing attributes that once have been published is a bit more problematic, since it might lead to issues as e.g.:

The Custom Attributes for Information Sources functionality will out-of-the box provide enough functionality to cover the basic needs. For advanced usages the functionality can be combined with the following:

Available Sources

A customized attribute is always based on a source of a specific source type. Available source types can be found in the below table.

Source Type Source LoV Supported Description
Dimension <dimension id> Yes The source is the identity of an existing dimension
Fact <fact id> Yes The source is the identity of an existing fact
View <view name> Yes The source is the name of an existing view
IAL view <IAL view name> Yes The source is the name of an existing IAL view
Table <table name> Yes The source is the name of an existing table
Select Statement <user defined> No The source is a select statement identified by a user defined identity
Function Call <user defined> No The source is a PL/SQL function identified by a user defined identity
Expression <user defined> No The source is a SQL expression identified by a user defined identity

 

Source Relations

General

For each source, of a given source type, it is necessary to define the relation between the entity to be customized and the source that holds the value of the new attribute. These relations are defined first, before adding any attributes.

Examples

A few examples will be provided.

Assume that we want to add the company name (description) to the Fact with identity FACT_SHOP_ORDER. The first step will be to create a relation. In the Relations for Facts page a definition like the following is done:

 

In the next example the goal is to enable the possibility to add one or more attributes from the view ACCOUNT to the fact FACT_GL_TRANSACTION. The first step will be to create a relation between the fact and the view. In the Relations for Facts page a definition like this is done:

The assistant has suggested one join correctly but for the COMPANY key it is necessary to define the join entity attribute.



When a relation has been defined and verified, it has to be approved to make it available when creating custom attributes based on that relation. This is done by using the RMB option Approve in the header part. When approving, the relation will be validated as far as possible.

List of Values for Source Views

When supplying the source identity related to source types Dimension, Fact, View, IAL View, Table, the easiest way to find existing sources is to use List of Values. If the source type is View then the LoV dialog has one attribute called Custom Field Attribute View that can be used to filter out views related to custom fields specific custom attributes. If new attributes are added to a Logical Unit via custom fields functionality, new custom specific views will be created for all existing views in the Logical Unit and the view name will end with _CFV. If these new attributes should be added to a Fact or Dimension, the easiest way to find an appropriate view is to use the LoV dialog on filter on e.g. Logical Unit Name and Custom Field Attribute View.

 

Workflow

 

The workflow for defining custom attributes for a Fact or Dimension can be described as in the below picture.

  1. Decide entity, Dimension or Fact, to be customized
  2. Define necessary source relations for the entity
  3. Approve the necessary relations
  4. Start defining custom attributes
    1. Define custom attributes for a given source relation
    2. Approve the custom attribute(s).
      Only approved attributes will be published.
    3. Perform the steps for each source relation.
      E.g. for a view relation, many attributes can be added from the referenced view source but for a relation based on source type Select Statement, Function Call or Expression only one attribute can be added.
  5. Approve on the entity level.
    Approval can only be performed if there is at least one approved custom attribute.
  6. The last step will be to publish on the entity level.
    1. Publish is only available after having approved on the entity level.
    2. Only approved custom attributes will get published.
  7. The publish step leads to the following:
    1. The new attributes will be added to the entity (Dimension/Fact) and will be directly available in the Information Source navigator in e.g. IFS Business Reporter and IFS Lobby.
    2. New database objects will be created, e.g. new access views
    3. For Information Sources that support incremental load, i.e. the Fact part only, a new table will be created for each Fact to store the custom attributes. The incremental load will work in the same was as without custom attributes.

 

Once new custom attributes have been published, it is not possible to change existing definitions or add new custom attributes unless the entity is unpublished.

How to modify and/or remove published custom attributes is described in the following work flow.

 

Export and Import

Custom attribute definitions can be exported from one environment and imported in another.

The export is available in the Custom Attributes for Facts and Custom Attributes for Dimensions windows.

The export will consider:

The same windows as mentioned earlier are used to handle the import.

Monitoring - Diagnostics

Custom Attributes related to Information Sources can be added from several types of sources through a source relation.

If a referenced source is modified it might lead to that a custom attribute based on that source is no longer valid. Some examples:

To keep track of changes to referenced objects that leads to invalid Fact/Dimension attributes, a monitoring event has been added and can be found in Application Monitoring Console, currently only available in the IEE client. The events are found under the monitor group Information Source Custom Objects

For more information about monitoring, please refer to documentation about Application Monitoring Console Configuration

Detailed Subjects

Access Views

If Access Views have been created based on the entity to which new custom attributes should be added, the following must be considered:

 

Permissions

About permissions and access:

 

Detailed Documentation

For more detailed information about relations and how to define custom attributes for a Fact or Dimension, please refer to one of the below links.