Unifier Oas Config
Unifier Oas Config
Primavera Unifier
Oracle Analytics Server Configuration Guide for On-Premises
Version 24
December 2024
Oracle Primavera Unifier Oracle Analytics Server Configuration Guide for On-Premises
Copyright © 1998, 2024, Oracle and/or its affiliates.
Primary Author: Oracle Corporation
2
Contents
Introduction ...................................................................................................................................... 5
Downloading Oracle Analytics Server ............................................................................................... 7
Configuring Oracle Analytics Server for Unifier Reporting ................................................................ 9
Configuring Enterprise Reporting with Oracle Analytics Server ........................................................... 9
Configuring an Oracle Analytics Server User in WebLogic .............................................................. 9
Security Model in Oracle Analytics Server ..................................................................................... 10
Creating the JDBC Connection String for Oracle Analytics Server ............................................... 10
Disabling the Cache for Oracle Analytics Server ........................................................................... 10
Creating a Reports Folder in Oracle Analytics Server ................................................................... 11
Adding Data Sources to Roles with the Fusion Middleware Security Model ............................... 11
Assigning Permissions to the Unifier Reports Folder .................................................................... 11
Configuring Oracle Analytics Server in Unifier ................................................................................ 13
Setting Permissions for Custom Reports ........................................................................................ 13
Creating Data Views........................................................................................................................ 15
Creating an Oracle Analytics Server Report in Unifier .................................................................... 17
Adding Permissions to Run Oracle Analytics Server Reports ......................................................... 21
Configuring Oracle Analytics Server Publisher Reports to Use Unifier Images ............................... 23
Running the Oracle Analytics Server Report in Unifier ................................................................... 25
3
Introduction
This document provides Oracle Primavera Unifier network and database administrators
instructions on how to download Oracle Analytics Server, configure Oracle Analytics Server
settings, configure Oracle Analytics Server in Unifier, and create and run Oracle Analytics Server
reports.
Oracle Analytics Server integrate with Unifier to deliver on-demand web-based reporting through
Unifier.
Follow the instructions in this guide to:
1) Download Oracle Analytics Server.
2) Configure Oracle Analytics Server settings.
3) Configure Oracle Analytics Server in Unifier.
4) Create Oracle Analytics Server reports.
5) Run Oracle Analytics Server reports.
Before getting started, familiarize yourself with the way Oracle Analytics Server handle reports.
Unifier populates its list of reports from the Report Definitions that load from Oracle Analytics
Server Web Services. When you need to create or modify a report, you will use Oracle Analytics
Server. The Oracle Analytics Server documentation will help you understand how it works.
5
Downloading Oracle Analytics Server
Unifier can integrate with Oracle Analytics Server.
Any prior version of Oracle Analytics Server will fail to connect with Unifier.
To download Oracle Analytics Server:
1) Go to the Oracle Software Delivery Cloud.
2) Search for Oracle Analytics Server and enter your platform version.
3) Select the Oracle Analytics Server for your platform and download the applicable files.
4) Use the instructions for Oracle Analytics Server to install it from the files you downloaded.
7
Configuring Oracle Analytics Server for Unifier
Reporting
To run reports in Unifier, you must complete these tasks:
1) Download Oracle Analytics Server from the Oracle Software Delivery Cloud.
2) If not already set up, install and deploy an Oracle Analytics Server environment to manage
reports. See the documentation included with Oracle Analytics Server.
3) Configure sample reports, roles, security, and users in Oracle Analytics Server. See
Configuring Enterprise Reporting with Oracle Analytics Server (on page 9).
4) Populate Oracle Analytics Server settings in the Unifier Configurator. See Configuring
Oracle Analytics Server in Unifier.
In This Section
Configuring Enterprise Reporting with Oracle Analytics Server.................................. 9
9
Oracle Analytics Server Configuration Guide for On-Premises
10
Configuring Oracle Analytics Server for Unifier Reporting
Adding Data Sources to Roles with the Fusion Middleware Security Model
You can assign an existing role to users, but you need to assign the JDBC data source to the
roles.
To assign the data source:
1) Click the Administration link at the top of your screen.
2) In the Security Center section, select the Roles and Permissions link.
3) For the BI Service Administrator or OA Service Administrator role, select the Add Data
Source icon.
4) Under Database Connections move the data source created for Unifier from the Available
Data Sources to Allowed Data Sources.
5) Click Apply.
6) Repeat steps 1-5 for the BI Consumer or OA Consumer role and the BI Content Author or
OA Content Author role.
11
Oracle Analytics Server Configuration Guide for On-Premises
12
Configuring Oracle Analytics Server in Unifier
To configure Oracle Analytics Server in WebLogic in Unifier:
1) Open the Unifier Configurator:
a. Go to the Unifier home directory and open the WebLogic folder (for example,
Unifier_Home/weblogic).
b. Run configure.bat (for Windows) or configure.sh (for Linux).
2) Select the Report tab.
3) In the Oracle Analytics Publisher Endpoint URL field, enter the Oracle Analytics Server
Web Services endpoint URL.
For example: http://host1.name1.com:9704
4) In the Oracle Analytics Publisher User Name field, enter the user name created above for
the Oracle Analytics Server.
5) In the Oracle Analytics Publisher Password field, enter the password for the Oracle
Analytics Server user.
6) In the Oracle Analytics Publisher Data Source field, enter the JDBC data source name
you entered when you created the Oracle Analytics Server JDBC Data Source.
7) In the Oracle Analytics Publisher Report Folder field, enter the name of the folder created
under the Shared Folders location in the Oracle Analytics Server Catalog.
8) In the Oracle Analytics Publisher External Report Folder field, enter the name of the
external folder created under the Shared Folders location in the Oracle Analytics Server
Catalog.
13
Oracle Analytics Server Configuration Guide for On-Premises
Notes:
A user with the configure permission to the Custom Report node,
can configure custom print templates. There are no separate
permissions for performing actions on the custom print templates.
If you have a User Mode Navigator, you must include the Custom
Report in the navigator and redeploy before the user can assign
permission through Access Control.
14
Creating Data Views
You will create data views to operate as data sources for custom reports.
Note: Refer to the Unifier Modules Setup Administration Guide for more
information.
Tips
The SQL definition will consist of the SQL query used to populate the report with specific data
based on the desired output.
Note: If using the data view as a Main view in a Project level report, you
must have a column named project_id. If using the data view in a
Program level report, you must have a column named program_id.
For example, a Project level data view for a company registry "companyReg" can be like this
below:
SELECT pu.PID as PROJECT_ID,
p.PROJECTNUMBER as PROJECTNUMBER,
c.COMPANYNAME as COMPANY_NAME,
c.SHORTNAME as COMPANY_SHORT_NAME,
c.DESCRIPTION as COMPANY_DESCRIPTION,
c.CONTACTNAME as COMPANY_CONTACT_NAME,
u.FULLNAME as USER_FULL_NAME,
u.USERID as USER_ID,
u.USERNAME as USER_NAME,
u.EMAIL as USER_EMAIL
FROM companyReg_SYS_USER_INFO_VIEW u,
companyReg_SYS_COMPANY_INFO c,
companyReg_SYS_PROJECT_INFO p,
15
Oracle Analytics Server Configuration Guide for On-Premises
companyReg_SYS_PROJECTUSER pu
WHERE c.COMPANYID = p.COMPANYID
AND p.PID = pu.PID
AND u.userid = pu.userid
16
Creating an Oracle Analytics Server Report in
Unifier
To create an Oracle Analytics Server report:
Note: For creating and updating Oracle Analytics Server custom reports
and Oracle Analytics Server custom prints, and importing reports from
Oracle Analytics Server into Unifier (synchronization), refer to the Unifier
General Administration Guide.
Notes:
Internal data model: Unifier maintains the data model file internally.
Any changes in the data views, data links, query parameters, and
additional parameters are being applied and saved in the data model
when the Oracle Analytics Server report is saved.
External data model: Users need to upload the data model (.xdm)
file and maintain it externally. This means that the user may modify
the .XDM file manually or by using the Oracle Analytics Server data
model editor.
5) In the General tab of the Custom Report dialog box:
a. In the Name field, enter a name for the report.
b. In the Description field, enter a brief description about the report (maximum 250
characters and non-ASCII characters are permitted).
c. The Data Model Type field is a pre-populated and read-only field with values that can be
internal or external based on the option selected at the time of creating the custom print.
d. In the Report Level field, select a type for the report.
e. In the Main View field, select a type of view for the report.
6) In the Views tab, click Add or Remove to edit the views for the report.
17
Oracle Analytics Server Configuration Guide for On-Premises
7) Click Apply.
8) When the Sample Data tab opens, you can download the sample XML data for creating or
modifying report layouts:
If you are using the Internal Data Model:
a. Select a project/shell.
b. Select a number of rows to return.
c. Click Generate.
d. Click Download.
e. Save the XML file.
If you are using the External Data Model:
Note: You cannot download sample data until after you define and
publish the report.
a. Select a project/shell.
b. Click Generate.
c. Click Download.
d. Save the XML file.
9) Create a report layout in Microsoft Word to have templates available in Microsoft Word when
you publish reports:
a. Open Microsoft Word.
b. Create an RTF file.
c. In the Oracle Analytics Server tab:
1. Select Sample XML in the Load Data section.
2. Upload the XML file you created above.
3. Create a table for the layout using the Table Wizard included with the Oracle Analytics
Server plug-in.
4. Save and close the RTF file.
10) Return to the Custom Report dialog box.
11) In the Template File tab (consisting of Add, Modify, Remove, and Download options)
a. Click Add to open the template window.
b. Enter information in the following fields: Template Name, Template Type, and Report
Layout File.
To localize the Custom Report output for different languages, you can provide
XLIFF files for RTF-type templates here.
The Template Name field accepts spaces and other characters.
c. Click Browse to select the template file for uploading.
d. Click OK to confirm the upload.
12) Return to the Company Workspace tab.
13) In the left pane:
a. Expand Configuration.
18
Creating an Oracle Analytics Server Report in Unifier
Refer to the documentation included with Oracle Analytics Server for more information on using
this plug-in.
19
Adding Permissions to Run Oracle Analytics
Server Reports
These steps apply to sample custom reports and may not apply for every report.
To add permissions to run reports:
1) Go to the Company Workspace tab and switch to Admin mode.
2) Select the User Mode Navigator.
3) Open the Project/Shell navigator.
4) Under Reports, create a Custom Reports node.
5) Change the icon to u_report_select.gif.
6) Under the Custom Reports node, add the new report.
7) Click OK.
8) Highlight the Project/Shell navigator.
9) Select Deploy to apply changes.
10) Go to the Company Workspace tab and switch to Admin mode.
11) Navigate to Company Sponsored Shells, All Projects.
12) Highlight All Projects in the right window pane and select Open.
13) Select Access Control.
14) Navigate to User Mode Access, Reports, Custom Reports.
15) Select the custom report.
16) Add users to allow access to reports.
17) Click Apply and OK.
21
Configuring Oracle Analytics Server Publisher
Reports to Use Unifier Images
To add a dynamic Unifier image in an Oracle Analytics Server report, you must create a data set
in the Data Model (XDM) file, as explained below.
Note: The following instructions apply to reports that run directly on the
Oracle Analytics Server. The Oracle Analytics Server reports that run via
Unifier do not require these changes.
Note: The purpose is to get the server token from database where
"expired" is the maximum from all the rows.
In the report template that requires to have the image to be inserted, change the "Alt text" of the
image to point to image retrieval URL.
To retrieve a Unifier image, use the URL:
https://unifier-server-address/bluedoor/rest/image/<image_id>/<server_t
oken>
The report parameter uuu_p_urlF can be created in Data Model (XDM) file with a default
value, so at the runtime the server address-part of the URL can be changed appropriately:
<parameter name="uuu_p_urlF"
defaultValue="https://unifier-server-address/bluedoor/rest/image"
dataType="xsd:string" rowPlacement="8">
<input label="uuu_p_urlF" size="100"/>
</parameter>
23
Oracle Analytics Server Configuration Guide for On-Premises
The report template uses this URL in the "Alt text" of the image, as in:
url:{concat($uuu_p_urlF,'/',DATA_IMAGE_ID,'/',//security_token/SEC_TOKE
N[1])}
Where: uuu_p_urlF can be the template variable, for example:
<?variable@begin:uuu_p_urlF;(.//uuu_p_urlF)[1]?>
The security token, retrieved from DB by the dataset is: //security_token/SEC_TOKEN[1]
The runtime data (image ID) is: DATA_IMAGE_ID
Additional Information
In a Cloud deployment, you can use the "uuu_p_tenantIdF" data element for passing the
tenant ID to the Oracle Analytics Server report. This will include the required URL needed for
accessing the image file in the Oracle Analytics Server report. For legacy Oracle Analytics
Server reports, in a Cloud or On-premises deployment, you can continue to use the following
data elements for passing the user ID to the Oracle Analytics Server report:
uuu_p_urlF
uuu_sessionIdF
uuu_p_companyRegistry
24
Running the Oracle Analytics Server Report in
Unifier
To run the Oracle Analytics Server Report in Unifier:
1) Sign in to your Unifier environment.
2) Select a project/shell and switch to User mode.
3) In the project/shell navigation tree, select Reports, Custom node.
4) Select a report.
5) In the dialog box that appears, enter the search conditions and click Report to run the report.
25