Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

BI publisher reporting product from Oracle that provides the ability to create and manage highly formatted reports from a wide range of data sources.

  • You can source files from SCM or Development environment. It is always recommended to source files from SCM systems for obvious reasons of traceability.

  • Sourcing files from SCM

    • Commit files to SCM configured for your Project.

    • You must put the file in folder configured in EBS Publisher Root Source Directory on project properties. For example, publisher. This folder will be under project configuration source root folder.

    • Then perform Populate from xxx, then make sure to verify or configure LOB Code, App Short Name, LOB Type, Territory and Language on each newly discovered publisher files then click Evaluate. Click Save.

      • For example, you can commit /publisher/XXHR_A.rtf to SCM and XXHR_A will be LOB Code.

  • Sourcing files from development environment

    • Go to Files tab - select Publisher files, then click Create and provide file name (For example, LOB Code.extension), evaluate and the configure LOB Code,App Short Name, LOB Type, Territory and Language and click Evaluate again. Click Save.

      • For example, you can start with /publisher/XXHR_A.rtf and XXHR_A will be LOB Code.

...

Name

Code

Description

Default Value

Supported Values

Source

SOURCE

Object Source Location Type

SCM (**populating from SCM)

EBS (**manual creation)

SCM | EBS

App Short Name

APP_SHORT_NAME

Application Short Name

Defaults to EBS Module Application Short Name property.


LOB Code

LOB_CODE

XDO LOB code. Enter either the Template Code 
or the Data Definition Code.

<file name> (**without path/extension)


XDO File Type

XDO_FILE_TYPE

XDO File type

LOB Type

LOB_TYPE

XDO LOB type

XML_SAMPLE

See Considerations below.

BURSTING_FILE | DATA_TEMPLATE | TEMPLATE | TEMPLATE_SOURCE | XML_SCHEMA | XML_SAMPLE

Target Location

TARGET_LOCATION

Path to where the file should be deployed to.

$<PROD_TOP>/patch/115/publisher

Default can be changed using EBS Publisher Root Destination Directory property.


Territory Code

TERRITORY

ISO two-letter territory code. If no territory code, provide 00 to ignore the value.

US


Language

LANGUAGE

ISO two-letter language code.

en

Custom Mode

CUSTOM_MODE

To override Oracle’s upload algorithm and update the custom AOL data regardless - use CUSTOM_MODE= FORCE.

FORCE

Default can be changed using EBS Publisher Default Custom Mode property.

NOFORCE | FORCE

NLS Lang

NLS_LANG

NLS_LANG environment variable

$NLS_LANG

Target File Permissions

FILE_PERMISSIONS

Permissions to apply to the file after it is deployed

Defaults to the project property FDEBS_FILE_PERMISSIONS


...

Name

Code

Description

Default Value

Publisher Root Source Directory

FDEBS_PUBLISHER_ROOT_SOURCE_DIR

Source folder for publisher files (e.g. xmlpub).

publisher

Publisher Root Destination Directory

FDEBS_PUBLISHER_ROOT_DESTINATION_DIR

Target directory for Publisher files (e.g. $XXHR_TOP/publisher).

$<PROD_TOP>/patch/115/publisher

Publisher Default Custom Mode

FDEBS_PUBLISHER_CUSTOM_MODE

When populating or evaluating files deployed with XDOLoader, set the CUSTOM_MODE of publisher files to this.

FORCE

File Permissions

FDEBS_FILE_PERMISSIONS

Target File Permission. Will be set to target file after deployment using chmod. eg: 755

...

  1. When populating XML files from SCM, LOB Type is defaulted based file extension and file data. When sourcing files files from EBS, LOB Type is defaulted based on file extension. In either case be sure to make sure that LOB Type is appropriate. For example,

    1. .pdf, .rtf, .xls, .xsl, .xlf files are TEMPLATE

    2. .xsd and .dtd files are XML_SCHEMA

  2. You must make sure that values for App Short Name, LOB Code, Territory and Language are correct when sourcing from SCM or EBS. Once you edit the values, make sure to click Evaluate to reevaluate commands and Save your changes after evaluate.

    1. If necessary, you can find values for App Short Name, LOB Code, Territory and Language using following query.

      Code Block
      languagesql
      SELECT LOB_CODE,
        LOB_TYPE,
        APPLICATION_SHORT_NAME,
        FILE_NAME,
        LANGUAGE,
        TERRITORY,
        XDO_FILE_TYPE
      FROM XDO_LOBS

...

If you want to avoid manually entering values like Territory, then following customization script can be used. For example, if file is stored as "/publisher/US/en/abc.rtf" in source control system, then US will be recognized as Territory. This is example for Territory and same logic can be applied for LOB Code, App Short Name, LOB Type, Territory and Language as necessary.

Code Block
languagegroovy
// publisher file customization to allow use of territory and language from path
// User will enter path as /publisher/US/en/XXHR_BIP_ROSTER.rtf
// Format - <parent folder>/publisher/<territory>/<language>/<file name with extension>

// Find what folder name we are using for publisher files
PUB_ROOT=FDEBS_PUBLISHER_ROOT_SOURCE_DIR != null && FDEBS_PUBLISHER_ROOT_SOURCE_DIR != '' ? FDEBS_PUBLISHER_ROOT_SOURCE_DIR : 'publisher';
if (FILE_PATH.indexOf(PUB_ROOT) > -1)
{
    // if file path does not have publisher folder then we can't do anything
    // let's remove anything including first / from path first, then split it
    EFFECTIVE_PATH=FILE_PATH.substring(FILE_PATH.indexOf(PUB_ROOT));
    parts=EFFECTIVE_PATH.split('/');
    if (parts.length >= 4)
    {
        return parts[1];
    }
}
return null;