+ All Categories
Home > Documents > Dashboards WebSphere Portlet User Guide

Dashboards WebSphere Portlet User Guide

Date post: 05-Apr-2018
Category:
Upload: kamalksofteng
View: 223 times
Download: 0 times
Share this document with a friend

of 24

Transcript
  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    1/24

    Dashboards WebSphere Portlet User Guide

    SAP BusinessObjects 4.0 Feature Pack 3

    2012-03-16

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    2/24

    2011 SAP AG. All rights reserved.SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAPBusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as

    Copyright

    well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and

    other countries.Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports,Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and servicesmentioned herein as well as their respective logos are trademarks or registered trademarks of BusinessObjects Software Ltd. Business Objects is an SAP company.Sybase and Adaptive Server, iAnywhere,Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well astheir respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAPcompany. All other product and service names mentioned are the trademarks of their respectivecompanies. Data contained in this document serves informational purposes only. National productspecifications may vary.These materials are subject to change without notice. These materials areprovided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only,without representation or warranty of any kind, and SAP Group shall not be liable for errors oromissions with respect to the materials. The only warranties for SAP Group products and servicesare those that are set forth in the express warranty statements accompanying such products andservices, if any. Nothing herein should be construed as constituting an additional warranty.

    2012-03-16

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    3/24

    Contents

    Document History...................................................................................................................5Chapter 1

    About this Guide.....................................................................................................................7Chapter 2

    Getting Started........................................................................................................................9Chapter 3

    Key concepts...........................................................................................................................93.1

    Dashboards WebSphere Portlet...............................................................................................93.1.1

    Dashboards Data Connections..............................................................................................103.1.2

    Dashboards data in the Dashboards WebSphere Portlet........................................................123.1.3

    Key tools................................................................................................................................133.2

    Dashboards Portlet Generation Utility....................................................................................133.2.1

    Naming conventions...............................................................................................................143.3

    Variables................................................................................................................................143.3.1

    Creating a Dashboards WebSphere Portlet..........................................................................15Chapter 4

    To create a Dashboards WebSphere Portlet..........................................................................154.1

    To configure the Dashboards Portlet Generation Utility..........................................................154.2

    Using Dashboards WebSphere Portlets...............................................................................19Chapter 5

    Modifying Dashboards WebSphere Portlet parameters..........................................................195.1

    To configure communication between Dashboards WebSphere Portlets................................195.2

    More Information...................................................................................................................21Appendix A

    Index 23

    2012-03-163

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    4/24

    2012-03-164

    Contents

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    5/24

    Document History

    The following table provides an overview of the most important document changes.

    DescriptionDateVersion

    Initial release.November 2010SAP BusinessObjects 4.0

    No changes.March 2012SAP BusinessObjects 4.0 Feature Pack 3

    2012-03-165

    Document History

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    6/24

    2012-03-166

    Document History

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    7/24

    About this Guide

    This guide is intended for business intelligence users who need to create Dashboards WebSphere

    Portlets from a variety of Dashboards models in a corporate environment.

    For more information about features and capabilities, see the Dashboards and Presentation Design

    User Guide.

    2012-03-167

    About this Guide

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    8/24

    2012-03-168

    About this Guide

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    9/24

    Getting Started

    3.1 Key concepts

    3.1.1 Dashboards WebSphere Portlet

    A Dashboards WebSphere Portlet allows you to integrate a Dashboards model (in .swf format) with

    a portal server. You can modify the default parameters of the portlet, and allow multiple portlets to

    communicate with each other.

    You must create a new portlet for each model that you publish on a portal. Then, you can use an account

    with Administrator credentials to install your portlet.

    Note:

    The portlet discussed in this guide is a template that you can use to build new portlets.

    3.1.1.1 Integration

    The Dashboards WebSphere Portlet complies with the JSR 168 standard. However, while it can be

    deployed on any portal server, only IBM WebSphere Portals support communication between portlets.

    Note:

    For best performance, deploy the portlet on IBM WebSphere Portal 5.1.

    For more information, see the following documentation:

    WebSphere Portal information and product documentation on the IBM Support Portal

    Portal Integration Kits documentation on the SAP Support Portal (Click Release & Upgrade Info >

    Installation & Upgrade Guides > SAP BusinessObjects > SAP BusinessObjects Business

    Intelligence (BI) > Portal Integration Kits)

    Java Authentication and Authorization Service (JAAS) Reference Guide for the Java 2 SDK,

    Standard Edition, v 1.4

    2012-03-169

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    10/24

    3.1.2 Dashboards Data Connections

    When you create a Dashboards model, you can establish a Portal Data Connection or a Web Service

    Connection. You can access these connections in the Dashboards Data Manager.

    There are three Portal Data Connection types: Provider, Consumer, and None (Parameter).

    Note:

    A single model can contain an unlimited number of None (Parameter) and Web Service Connections,

    because these connections are independent from consumers and providers. However, a model can

    contain one Provider Data Connection, one Consumer Data Connection, or neither. In addition, a model

    must have at least one Portal Data Connection.

    3.1.2.1 Portal Data Connections

    3.1.2.1.1 Provider Data Connections

    There are three Provider Data Connections:

    Cell Providers transmit the values of a single cell.

    Row Providers transmit the values of a one-dimensional group of cells.

    Table Providers transmit the values of a two-dimensional group of cells.

    3.1.2.1.2 Consumer Data Connections

    There are three Consumer Data Connections:

    Cell Consumers map data to a single cell.

    Row Consumers map data to a one-dimensional (horizontal or vertical) group of cells.

    Table Consumers map data to a two-dimensional group of cells.

    This is an example of ranges for a Cell Consumer (a), a Row Consumer (b), and a Table Consumer

    (c).

    Note:

    For Row Consumers, the range can be horizontal (b) or vertical (d).

    2012-03-1610

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    11/24

    Figure 3-1: Ranges for Consumer Data Connections

    3.1.2.1.3 None (Parameter) Data Connections

    To modify the values of your Dashboards model, you can enter "Edit Mode" in the DashboardsWebSphere Portlet and enter parameters.

    Note:

    The parameters must be linked to a cell in a spreadsheet. When you link a parameter to a cell, the

    parameter receives a default value. If the cell is empty, the default value of the parameter is zero.

    There are different types of parameters:

    text

    number

    check box

    date

    list box

    The expected value for check box is (-1) for "checked" and (null) for "unchecked". Although each

    parameter has an expected value, you can assign different values to the parameters.

    Related Topics

    Modifying Dashboards WebSphere Portlet parameters

    User information in None (Parameter) Data Connections

    If a text parameter includes a special value, the parameter is replaced with information about the portal

    user who uses the Dashboards WebSphere Portlet. This functionality allows you to personalize a

    Dashboards model (for example, by inserting a user name into a welcome message).

    Note:

    Parameters with names that begin with USER_INFO do not appear when the Dashboards WebSphere

    Portlet is in "Edit Mode". To avoid replacing a parameter with user data, avoid including USER_INFO

    in the parameter's name.

    The portlet supports the following special values:

    2012-03-1611

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    12/24

    USER_INFO.user.name.given

    USER_INFO.user.name.family

    USER_INFO.user.name.prefix

    USER_INFO.user.name.middle USER_INFO.user.name.employer

    USER_INFO.user.name.department

    Restriction:

    Some portals have fields that do not contain special values. For more information on the special values

    supported by the user registry of your portal, contact your portal administrator.

    3.1.2.2 Web Service Connections

    Your Dashboards model can receive data from web services. If the web service is a web service query

    (Query as a Web Service) connection, your model will connect to the SAP BusinessObjects Business

    Intelligence platform server specified in the URL of the web service query connection.

    3.1.3 Dashboards data in the Dashboards WebSphere Portlet

    The data in your Dashboards model comes in contact with the Dashboards WebSphere Portlet in thefollowing ways:

    It is transmitted between physically-connected portlets.

    Note:

    The portlet does not modify transmitted data.

    The user sets data for parameters in the portlet's "Edit Mode".

    Portal Data Providers and Portal Data Consumers exchange data in XML format.

    2012-03-1612

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    13/24

    Example:XML-formatted data

    DATA

    DATA

    DATA

    DATA

    DATA

    DATA

    DATA

    The data that your model receives is set as a .swf variable.

    For Consumers, the portlet does not impose restrictions on the data sender. However, to transmit data

    between a Dashboards WebSphere Portlet and another type of portlet, you must wrap your data in the

    same XML format. Communication between different portlet types must be set similarly to communication

    between Dashboards WebSphere Portlets.

    Related Topics

    None (Parameter) Data Connections

    To configure communication between Dashboards WebSphere Portlets

    3.2 Key tools

    3.2.1 Dashboards Portlet Generation Utility

    The Dashboards Portlet Generation Utility can create Dashboards WebSphere Portlets for your

    Dashboards model. The utility packages the portlets into web application archive (.war) files. You caninstall the .war files on a portal server.

    The utility is located in \XCelsiusPortletGenerationUtility_win32.zip

    Note:

    You need Java Runtime Environment 1.4.2 (or later) to run the utility.

    2012-03-1613

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    14/24

    Related Topics

    Variables

    To create a Dashboards WebSphere Portlet

    To configure the Dashboards Portlet Generation Utility

    3.3 Naming conventions

    3.3.1 Variables

    This guide uses the following variables.

    DescriptionVariable

    The directory where required files are located on the Dashboards media.

    D:\Portal Integration Kits\WebSphere Portal

    2012-03-1614

    Getting Started

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    15/24

    Creating a Dashboards WebSphere Portlet

    4.1 To create a Dashboards WebSphere Portlet

    1. Extract the contents ofXCelsiusPortletGenerationUtility_win32.zip

    2. Run XcelsiusPortletCreationUtility.bat .

    The "Dashboards Portlet Generation Utility - Step 1 of 2" page appears.3. Click Browse next to the "SWF File" field and select your Dashboards model (.swf).

    Note:

    Ensure that your model contains Portal Data Connections.

    4. Click Browse next to the "Destination Folder" field and select the location for your web application

    archive (.war) file, and then click Next.

    The "Dashboards Portlet Generation Utility - Step 2 of 2" page appears, displaying suggested values

    for each field. For more information about the fields, see the To configure the Dashboards Portlet

    Generation Utility section.

    5. If necessary, make changes to the values, and click Finish.

    The utility begins to generate the portlet. When the process is complete, the "Dashboards PortletCreation Utility - DONE" page appears.

    6. Note the location of the new portlet, and click OK.

    Related Topics

    Variables

    Dashboards Data Connections

    4.2 To configure the Dashboards Portlet Generation Utility

    You can configure the default settings of the Dashboards Portlet Generation Utility.

    1. Extract XcelsiusPortletCreationUtility.properties from the .jar file contained in the

    \XCelsiusPortletGenerationUtility_win32.zip file, and open the

    .properties file in a text editor.

    2012-03-1615

    Creating a Dashboards WebSphere Portlet

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    16/24

    2. Edit the values for the fields (these are the same values that appear on the "Dashboards Portlet

    Generation Utility - Step 2 of 2" page).

    SampleDescriptionField

    xcelsiusportlet.Row

    Provider.1197315029777

    The internal identification string

    used by the IBM WebSphere

    Portal. You can enter letters,

    numbers, periods (.), and under-

    scores (_).

    Portlet Id

    RowProvider

    The portlet's name. This name

    also determines the name of the

    web application that the utility

    generates. You can enter letters,

    numbers, periods (.), and under-

    scores (_).

    Portlet Name

    RowProviderThe name that appears when the

    portlet is displayed.Display Name

    RowProvider PortletThe title of the portlet is dis-

    played in the portlet's title bar.Portlet Title

    RowProvider

    The short title of the portlet may

    be used instead of the portlet ti-

    tle. May be used instead of the

    Portlet Title.

    Portlet Short Title

    Portlet wrapping Dash

    boards file Row

    Provider.swf

    The description of the portal is

    displayed on the "Portal Adminis-

    tration" page.

    Note:

    Keep this description as short as

    possible.

    Portlet Description

    swf, Dashboards, Row

    Provider, Row

    Provider.swf

    The keywords that describe the

    portlet.Portlet Keywords

    Note:

    Portlet Title, Portlet Short Title, and Portlet Keywords are locale-dependent.

    3. (Optional) Edit the value of the template web application file name.

    Caution:

    Do not edit the template web application's placeholders for special values. The utility may not be

    able to create portlets if the template web application becomes corrupted.

    4. Save your changes to XcelsiusPortletCreationUtility.properties

    2012-03-1616

    Creating a Dashboards WebSphere Portlet

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    17/24

    If you need a different template web application (to edit the text or layout of your Dashboards WebSphere

    Portlet's JavaServer Pages (JSP) or add supported languages), you must make a copy of tem

    plate.war included in the .jar file.

    Related Topics Variables

    2012-03-1617

    Creating a Dashboards WebSphere Portlet

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    18/24

    2012-03-1618

    Creating a Dashboards WebSphere Portlet

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    19/24

    Using Dashboards WebSphere Portlets

    5.1 Modifying Dashboards WebSphere Portlet parameters

    Various parameters of your Dashboards WebSphere portlet appear as HTML input fields when the

    portlet is in "Edit Mode".

    HTML ControlParameter Type

    Input FieldText

    Input FieldNumber

    Input FieldDate

    Check BoxCheck Box

    Drop-Down BoxList Box

    Note:

    Portlets have the default height and width of the Dashboards models (.swf files

    ) that they contain.

    The Adobe Flash Player Plug-In allows your web browser to display these files.

    5.2 To configure communication between Dashboards WebSphere Portlets

    You need to configure your Dashboards WebSphere Portlet only if you need to enable communication

    between portlets.

    Note:

    Ensure that your Provider and Consumer wiring is correct: allow Cell Providers to communicate withCell Consumers; allow Row Providers to communicate with Row Consumers; allow Table Providers to

    communicate with Table Consumers.

    1. Log onto your IBM WebSphere Portal with an account that has permission to edit pages, and click

    Administration.

    The "Manage Pages" page appears.

    2. Select the page to which you have published your portlets, and click Edit.

    2012-03-1619

    Using Dashboards WebSphere Portlets

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    20/24

    The "Edit" page appears.

    3. Click Wires, and select wires from the following lists:

    DescriptionWire

    The portlet that contains the Provider."Source portlet"

    The field that you want to send."Sending"

    The page where your consumer portlet is published."Target page"

    The portlet that contains the Consumers."Target portlet"

    The field that you want to receive."Receiving"

    The type of wire that you want to use."Wire Type"

    Note:

    Dashboards WebSphere Portlets have only one available option for the "Sending" and "Receiving"wires.

    4. Click Add.

    The portal creates the wires. Your portals can now communicate with each other.

    5. Click Done.

    Remember:

    WebSphere does not differentiate between Provider and Consumer portlets. Portlets that contain only

    consumers may appear in the "Source portlet" list, and portlets that contain only Providers may appear

    in the "Target portlet" list.

    Related Topics

    Dashboards Data Connections

    Provider Data Connections

    Consumer Data Connections

    2012-03-1620

    Using Dashboards WebSphere Portlets

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    21/24

    More Information

    LocationInformation Resource

    http://www.sap.comSAP product information

    http://help.sap.com/businessobjects

    Access the most up-to-date English documentation covering all SAPBusinessObjects products at the SAP Help Portal:

    http://help.sap.com/bobi (Business Intelligence)

    http://help.sap.com/boepm (Enterprise Performance Management)

    http://help.sap.com/boeim (Enterprise Information Management)

    Certain guides linked to from the SAP Help Portal are stored on the SAP

    Service Marketplace. Customers with a maintenance agreement have

    an authorized user ID to access this site. To obtain an ID, contact your

    customer support representative.

    To find a comprehensive list of product documentation in all supported

    languages, visit:http://help.sap.com/boall.

    SAP Help Portal

    http://service.sap.com/bosap-support

    The SAP Support Portal contains information about Customer Support

    programs and services. It also has links to a wide range of technical in-

    formation and downloads. Customers with a maintenance agreement

    have an authorized user ID to access this site. To obtain an ID, contact

    your customer support representative.

    SAP Support Portal

    http://www.sdn.sap.com/irj/sdn/bi-sdk-dev

    https://www.sdn.sap.com/irj/sdn/businessobjects-sdklibraryDeveloper resources

    http://www.sdn.sap.com/irj/boc/articles

    These articles were formerly known as technical papers.

    SAP BusinessObjects articles on

    the SAP Community Network

    2012-03-1621

    More Information

    http://www.sap.com/http://help.sap.com/businessobjectshttp://help.sap.com/bobihttp://help.sap.com/boepmhttp://help.sap.com/boeimhttp://help.sap.com/boallhttp://service.sap.com/bosap-supporthttp://www.sdn.sap.com/irj/sdn/bi-sdk-devhttps://www.sdn.sap.com/irj/sdn/businessobjects-sdklibraryhttp://www.sdn.sap.com/irj/boc/articleshttp://www.sdn.sap.com/irj/boc/articleshttps://www.sdn.sap.com/irj/sdn/businessobjects-sdklibraryhttp://www.sdn.sap.com/irj/sdn/bi-sdk-devhttp://service.sap.com/bosap-supporthttp://help.sap.com/boallhttp://help.sap.com/boeimhttp://help.sap.com/boepmhttp://help.sap.com/bobihttp://help.sap.com/businessobjectshttp://www.sap.com/
  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    22/24

    LocationInformation Resource

    https://service.sap.com/notes

    These notes were formerly known as Knowledge Base articles.Notes

    https://www.sdn.sap.com/irj/scn/forumsForums on the SAP Community

    Network

    http://www.sap.com/services/education

    From traditional classroom learning to targeted e-learning seminars, we

    can offer a training package to suit your learning needs and preferred

    learning style.

    Training

    http://www.sap.com/services/bysubject/businessobjectsconsultingConsultants can accompany you from the initial analysis stage to the

    delivery of your deployment project. Expertise is available in topics such

    as relational and multidimensional databases, connectivity, database

    design tools, and customized embedding technology.

    Consulting

    2012-03-1622

    More Information

    https://service.sap.com/noteshttps://www.sdn.sap.com/irj/scn/forumshttp://www.sap.com/services/educationhttp://www.sap.com/services/bysubject/businessobjectsconsultinghttp://www.sap.com/services/bysubject/businessobjectsconsultinghttp://www.sap.com/services/educationhttps://www.sdn.sap.com/irj/scn/forumshttps://service.sap.com/notes
  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    23/24

    Index

    C

    communication between portlets,

    configuring 19

    D

    Dashboards Data Connections

    data, XML format 12

    overview 10

    Portal Data Connections

    Consumer Data Connections

    10

    None (Parameter) DataConnections 11

    Provider Data Connections 10

    Dashboards Data Connections(continued)

    Portal Data Connections

    (continued)

    user information 11

    Web Service Connections 12

    Dashboards Portlet Generation Utility

    13

    configuring 15

    WebSphere portlet, creating 15

    Dashboards WebSphere Portlet

    communication between portlets,

    configuring 19

    default parameters, modifying 19

    IBM WebSphere Portal 5.1,integration with 9

    overview 9

    default parameters, modifying 19

    M

    media directory, location 14

    V

    variables

    media directory 14

    W

    web service query 12WebSphere portlet, creating 15

    2012-03-1623

  • 7/31/2019 Dashboards WebSphere Portlet User Guide

    24/24

    2012 03 1624

    Index


Recommended