How to:
Reference: |
To use WebFOCUS Pagelets with your Portal Server, you must perform the following steps:
WebFOCUS Pagelets must be defined as Web libraries, then registered within the PeopleSoft Enterprise Portal in order for users to gain access to their content. In addition to these setup steps, there are multiple objects that must either have access granted or restricted using PeopleSoft Security.
A Web library (or multiple Web libraries) must be created to store URL references to WebFOCUS components. To create the Web library, first go to the machine where the PeopleSoft Application Server is installed and open PeopleSoft Application Designer.
To create a Web library for WebFOCUS components:
The following window opens.
Property |
Value |
---|---|
Field Type |
Character |
Field Format |
1 |
Label ID |
IB_WEBFOCUS |
Long Name |
WebFOCUS OPS iScripts |
Short Name |
WebFOCUS OPS |
You can also click the PeopleCode Display icon on the toolbar and double-click the FFo event column.
The following table provides the required syntax. When copying the PeopleCode, only the server name for the WebFOCUS Business Intelligence Dashboard server needs to be modified for your environment. For more information on each Pagelet, see Using WebFOCUS Portal Components.
Pagelet Name |
iScript PeopleCode |
---|---|
WebFOCUS Report |
Function IScript_WebFOCUSReport1() &userID = %UserId; &address = "http://servername:port/ibi_apps/components/woas/governor/ WOAS_view.jsp?SID="|%UserId|"&view=report"|"&gn=number"; %Response.Write(CreateJavaObject ("ibi.portals.URLContentRetriever").retrieveGadgetFromBIDServer (&address)); End-Function; where:
|
WebFOCUS Deferred Status |
Function IScript_WebFOCUSDeferred()
&userID = %UserId;
&address =
"http://servername:port/ibi_apps/components/woas/governor/
WOAS_view.jsp?SID="|%UserId|"&view=deferstatus";
%Response.Write(CreateJavaObject
("ibi.portals.URLContentRetriever").retrieveGadgetFromBIDServer
(&address)); End-Function; |
WebFOCUS Domain |
Function IScript_WebFOCUSDomains()
&userID = %UserId;
&address =
"http://servername:port/ibi_apps/components/woas/governor/
WOAS_view.jsp?SID="|%UserId|"&view=domain";
%Response.Write(CreateJavaObject
("ibi.portals.URLContentRetriever").retrieveGadgetFromBIDServer
(&address)); End-Function; |
WebFOCUS QuickLinks |
Function IScript_WebFOCUSQLinks()
&userID = %UserId;
&address =
"http://servername:port/ibi_apps/components/woas/governor/
WOAS_view.jsp?SID="|%UserId|"&view=quicklinks";
%Response.Write(CreateJavaObject
("ibi.portals.URLContentRetriever").retrieveGadgetFromBIDServer
(&address)); End-Function; |
WebFOCUS Favorites |
Function IScript_WebFOCUSFavorites()
&userID = %UserId;
&address =
"http://servername:port/ibi_apps/components/woas/governor/
WOAS_view.jsp?SID="|%UserId|"&view=favorites";
%Response.Write(CreateJavaObject
("ibi.portals.URLContentRetriever").retrieveGadgetFromBIDServer
(&address)); End-Function; |
Note: Each WebFOCUS component instance can be personalized only once. For pagelets, such as WebFOCUS Report, that may need multiple instances on the homepage of a given user, multiple iScript functions must be defined. The example shows a variable named &gn=1. By defining multiple iScripts each with a unique &gn value, a user can have multiple personalized report pagelets.
Once iScript has been made available through the Application Designer, permissions must be set for the Web Library so that PeopleSoft users have access to it.
The following instructions use a standard permission list delivered with PeopleSoft 8.4 Applications, ALLPAGES. PeopleSoft security administrators may elect to create a new permission list specific to WebFOCUS, or use alternative pre-existing ones.
http://machinename:port/ps/signon.html
where:
Is the host name of the PeopleSoft Application Server.
Is the port number where the PeopleSoft Application Server listens.
Creating a new folder assists in managing the structure and application security for the portal. If you do not want to create a new folder, then an existing folder, such as PeopleSoft Applications, can be used as the location of the registered WebFOCUS pagelets. This section describes the procedure for creating a new WebFOCUS Reporting folder.
http://machinename:port/ps/signon.html
where:
Is the host name of the PeopleSoft Application Server.
Is the port number where the PeopleSoft Application Server listens.
Parameter |
Value |
---|---|
Name |
IB_WEBFOCUS_DOMAIN |
Label |
WebFOCUS Domain |
Usage Type |
Pagelet |
Node Name |
Always Use Local |
URL Type |
PeopleSoft Script |
Record (Table) Name |
WEBLIB_WEBFOCUS |
Field Name |
IB_WEBFOCUS |
PeopleCode Event Name |
FieldFormula |
PeopleCode Function Name |
IScript_WebFOCUSDomain |
The previous procedure describes how to register the Domain pagelet. The following table lists information for all the pagelets based upon the settings used in other sections of this document. Settings not listed remain consistent across all content references.
Pagelet Name |
Content Reference Information |
---|---|
WebFOCUS Report |
Name: IB_WEBFOCUS_RPT1 Label: WebFOCUS Report 1 Record Name: WEBLIB_WEBFOCUS Field Name: IB_WEBFOCUS Function: IScript_WebFOCUSReport1 |
WebFOCUS Deferred Status |
Name: IB_WEBFOCUS_DEFER Label: WebFOCUS Deferred Status Record Name: WEBLIB_WEBFOCUS Field Name: IB_WEBFOCUS Function: IScript_WebFOCUSDeferred |
WebFOCUS Domain List |
Name: IB_WEBFOCUS_DOMAINS Label: WebFOCUS Domains Record Name: WEBLIB_WEBFOCUS Field Name: IB_WEBFOCUS Function: IScript_WebFOCUSDomains |
WebFOCUS QuickLinks |
Name: IB_WEBFOCUS_QLINKS Label: WebFOCUS QuickLinks Record Name: WEBLIB_WEBFOCUS Field Name: IB_WEBFOCUS Function: IScript_WebFOCUSQLinks |
WebFOCUS Favorites |
Name: IB_WEBFOCUS_FAVORITES Label: WebFOCUS Favorites Record Name: WEBLIB_WEBFOCUS Field Name: IB_WEBFOCUS Function: IScript_WebFOCUSFavorites |
A reporting tab is not necessary for providing access to WebFOCUS pagelets. However, it does provide a way to separate transactional activities from certain types of reporting. For example, an HR Analyst may want a full page to use OLAP reporting functionality.
In most cases, WebFOCUS pagelets are spread across the My Page and additional tabbed pages. This layout allows WebFOCUS functionality to be deployed alongside transactional and non-transactional pagelets that have a similar business purpose for convenience to the user.
http://machinename:port/ps/signon.html
where:
Is the host name of the PeopleSoft Application Server.
Is the port number where the PeopleSoft Application Server listens.
The following image shows the Content Ref Administration page of the General tab.
Content Parameter |
Value |
---|---|
Name |
WF_PAGE1 |
Label |
WebFOCUS |
Long Description |
WebFOCUS Example Tab |
Object Owner ID |
PeopleTools |
Usage Type |
Homepage Tab |
Note: In the example, the Report1 pagelet is set to Optional-Default. Set pagelet options based on site requirements.
WebFOCUS |