Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Thursday, July 9, 2015

Saving an OBIEE report on a Folder via Agent.

Here I have given steps to place OBIEE 11g report on a shared folder.
First step is to create an Agent.


We can directly go to the Delivery Content tab. Subject is not really necessary as we are not sending it in email. Select the report and format for the report to be placed.

No need to set the recipients or destinations. We need to create an post action in Actions tab. We will come back to that later. Now save this Agent.
We need to create a VB Script file as below and need to call it as a post action in the above agent.
_________________________________________________________________________________

'##=====================================================================
'## Title: Export Report
'## Rev: 1.0
'## Author: Swaminathan Vadivelu
'## Purpose:
'## 1. This script takes a file from OBIEE and saves to the file system
'## 2. Creates a reporting subdirectory if not already present
'##
'## Inputs (specified in Actions tab of OBIEE Delivers Agent):
'## 1. Parameter(0) - This actual file to be exported
'## 2. Parameter(1) - The file name specified within OBIEE
'##
'##=====================================================================

'##Create a variable and assign the base folder path where to store the file:
Dim sPath
sPath = "D:\Report Exports"
'##Remember the above path is either a shared folder or folder on OBIEE server.

Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")

'##check whether directory exists, if not create
Dim objDir
If Not objFSO.FolderExists(sPath) Then
Set objDir = objFSO.CreateFolder(sPath)
End If
Set objDir = Nothing

'##build string to get date in yyyy-mm-dd format
Dim sDate, sDateFull
sDate = Now
sDateFull = DatePart("yyyy", sDate) & "-"
If Len(DatePart("m", sDate))=1 Then sDateFull = sDateFull & "0" End If
sDateFull = sDateFull & DatePart("m", sDate) & "-"
If Len(DatePart("d", sDate))=1 Then sDateFull = sDateFull & "0" End If
sDateFull = sDateFull & DatePart("d", sDate)

'##Create a complete path with file name and add the date on the file name:
Dim sFileName
sFileName = sPath & "\" & Parameter(1) & "-" & sDateFull & ".xls"

'##Place the file on the folder:
Dim objFile
objFSO.CopyFile Parameter(0), sFileName, True
Set objFile = Nothing
Set objFSO = Nothing
_________________________________________________________________________________

Place this file on a path and call it from Agent. Create a Invoke Server script from Actions tab like below.

And set the VB script path and parameters as per the VB script.

Save the agent and run it. It will send the report in excel format to the folder specified in VB script.



If you want to schedule the agent after a ETL process or some other task, you can create a batch script and link it to the ETL process to run after the load. Refer this LINK.

Tuesday, June 23, 2015

OBIEE 11g custom Login Screen Background


Change Login Background OBIEE 11g

Login Background customization:

I have given the below URL of the Oracle logo on the login screen, to figure out the analtics path on which the background .jpg file present.


in the above URL analytics represents path of the folder: 
D:\OBIEE_MW\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war

Replace background_blue_whitegradient_.png with your image. On the following path and recycle presentation services.

D:\OBIEE_MW\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\sk_blafp\login


Most of the times only the above step needed for changing the background. But in my case the file with name background_blue_whitegradient_.png doesn’t work because it had a ‘_’ at the end. So I have renamed the file to background_blue_whitegradient.png and change the login.css file like below.



Before restarting you can run the URL similar to below to make sure you the proper background and recycle presentation services.


Have fun!!!
Thanks

Friday, June 12, 2015

Installing OBIEE 11.1.1.7.0 on Windows 7 64 Bit

Here I laid out screenshots of Step-by-step installation of OBIEE 11.1.1.7.0 on Windows 64 bit machine. The disgrams are self explainable.
Download all the four Disks onto the same folder. Open Disk1 and run Setup.












 On the below step, give the Connection String and Credentials for the Schemas created by RCU. Refer another blog here for how to install RCU.









Click Save on the below window to save all the middleware paths and OBIEE URLs for different  functions on your local machine. And then click finish.




















Once click Finish. Your local machine obiee login page will automatically launch.


Saturday, July 13, 2013

Installing RCU 11.1.1.7.0 utility on Windows 7 64 bit.

Hi Fellow Experts,

Here I have tried to explain step by step procedure to install RCU utility version 11.1.1.7.0 for OBIEE 11g.

This is a prerequisite before installing OBIEE 11g in your machine and has to be done after you have installed a database.

I have taken these screenshots while installing the RCU on my Windows 7 64 bit laptop, so the entries I have given on this installation may vary depending on your laptop configuration.


Step1: Go to the OBIEE 11.1.1.x downloads page in oracle.com and accept the license agreement. Once you accept the agreement, all the download links will enable.

image

Step2: Scroll down to the list of RCU files and click on the Link for Microsoft windows 64bit, it may ask your Oracle user name and password and will start downloading the files for RCU install.

image

Step3: Once the zip file is downloaded, extract the files.

image

Step4: Once the files are extracted into a single folder, Navigate to the path shown in below screenshot and run the RCU batch file.

image

Click Run below.

image

Step5: Screenshots till next step are self-explanatory, select the options shown on the screenshots and click next.

image

image

Step6: Fill in the Database information in the next step, I have installed Oracle 11g server version on my laptop, so I have given that information here.

image

You can refer the TNSnames.ora file for entering above information. Click next once you enter all the information.

image

image

Step8: Select Oracle Business Intelligence in the next step as you want to create schemas and tables only store OBIEE metedata and Click next.

image 

image

Step9: enter the passwords for the schemas going to be created. Better to select User same password option.

image

image

image

image

Step10: Click Create and Click close once done.

image

image

image

Hope this article is helpful for you guys. Until next time, have fun with OBIEE. Bye.