Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • WebSphere Portal Family wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Redbooks: Building a Sample Website Using IBM Web Content Manager 7.0 IBM Redbooks: Building and Implementing a Social Portal IBM Redbooks: Developing Exceptional Multi-Channel Web Experiences V7: IBM Web Content Manager Product Documentation V7: IBM WebSphere Portal Enable for z/OS Product Documentation V7: IBM WebSphere Portal Express Product Documentation V7: WebSphere Portal Product Documentation V8: IBM Web Content Manager Product Documentation V8: IBM WebSphere Portal Express Product Documentation V8: IBM WebSphere Portal Product Documentation (includes z/OS) Custom Search Scope...
Search
Community Articles > IBM Accelerators for WebSphere Portal > IBM Mobile Portal Accelerator > XDIME enabled Sample Personalization Demo Portlets
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorVinod Appajanna
Contribution Summary:
  • Articles authored: 4
  • Articles edited: 1
  • Comments Posted: 0

Recent articles by this author

GPS (HTML5) Sample Mobile Portlet using XDIME

This aritcle describes about how to develop a GPS sample (HTML5) portlet that can be rendered on MPA

XDIME enabled Sample Personalization Demo Portlets

The samples provided with article provides an extension to YourCo User Info, YourCo General News, YourCo General News Details, YourCo Internal News, YourCo Products, YourCo Promotions, YourCo Offer Banner, YourCo Offers and YourCo Services portlets (that are shipped with WebSphere Portal base ...

Device (Mobile) Attribute Based Personalization using MPA

In this tutorial, we extend the capabilities of Websphere Portal attribute based personalization to a mobile device using MPA. A device has numerous propertiesattribute and based on these propertiesattributes values we can apply rules, that is we can decide to show or hide a portlet or page. ...

How-To use a web service with MPA

This article will show how to create a simple webservice and how to call the same from a Mobile portlet code

Community articleXDIME enabled Sample Personalization Demo Portlets

Added by IBM contributor Vinod Appajanna | Edited by IBM contributor Vinod Appajanna on October 22, 2010 | Version 7
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
The samples provided with article provides an extension to YourCo User Info, YourCo General News, YourCo General News Details, YourCo Internal News, YourCo Products, YourCo Promotions, YourCo Offer Banner, YourCo Offers and YourCo Services portlets (that are shipped with WebSphere Portal base product) so that these portlets can be renderd on mobile devices using MPA
Tags: mobile, mobile portal WEMP UI design, mptk61, Mobile MPA, Mobile portal Toolkit, Mobile Portal, Mobile Portal Accelarator, Mobile Portal Accelerator, MPA, MPA iPhone Mobile, MPA Mobile, MPTK, portal, Portal mobile
ShowTable of Contents
HideTable of Contents
  • 1 Introduction
  • 2 Prerequisites
  • 3 Updating and Adding the Portlets to the Page
    • 3.1 Install the Personalization sample and database
    • 3.2 Update the WAR File on the Portal Server
    • 3.3 Change access rights/properties of portlets
    • 3.4 Add Portlet instance on a mobile page
  • 4 Testing

Introduction


Personalization is the process of tailoring the content rendered to the user based on user characteristics or preferences. It involves accommodating individual needs of seeing resources which may be different from user to user. Personalization is very useful for consumer end for enhancing customer needs and e-commerce sales. Though many of the personalization features are specific to HTML, it can be migrated to Mobile Platform as well. To migrate it to mobile devices, the content has to be rendered in HTML as well as XDIME ( XML Device Independent Markup Extension). XDIME allows content to be rendered in a device independent format. Based on the device properties the XDIME content is converted by the MCS (multi channel server) to mobile specific support. This means that personalization demo can be used to generate HTML portlet for PCs as well as XDIME content to render it on mobile devices. Hence, only one copy of the content needs to be generated which can be rendered for both PC and mobile devices.

The samples provided with article provides an extension to YourCo User Info, YourCo General News, YourCo General News Details, YourCo Internal News, YourCo Products, YourCo Promotions, YourCo Offer Banner, YourCo Offers and YourCo Services portlets (that are shipped with WebSphere Portal base product) so that these portlets can be renderd on mobile devices using MPA.

Prerequisites


This article requires the following runtime environment:
Mobile Portal Accelerator 6.1.X/7.0
To test this use Mobile Simulators or firefox add-on called User-Agent-Switcher to simulate mobile device requests.

Updating and Adding the Portlets to the Page


Install the Personalization sample and database


o Goto the Portal InfoCenter link eg:
1.http://www-10.lotus.com/ldd/portalwiki.nsf/xpViewCategories.xsp?lookupName=IBM%20WebSphere%20Portal%207%20Product%20Documentation
2.http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp
o Search for “Install the Personalization sample and database” follow the steps under this section to install the sample PZN demo portlet and users.

Update the WAR File on the Portal Server


o Download the pzndemo.war file.
o Login into Portal Server as an adminstrator
o Select Adminstration->Portlet Management->Web Modules
o Search by: File Name starts with Search: pzndemo
o Select the Update Web module icon next to pzndemo.war
o Browse to the war file you just downloaded and select Next then Finish

Change access rights/properties of portlets


o Login into Portal Server as an administration
o Select Administration->Portlet Management->Portlets
o Search by: Title Starts with Search: YourCo News
o Select Assign access to portlet icon next to YourCo News

o Click on Edit Role icon for User roles
o Click on Add icon
o Search for Users and User Groups: User Groups Search by: All available
o Click on the Search icon
o Select the check box for Users and User Groups
o Click Ok icon
o Click on YourCo News link
o Click Apply icon and then click Ok icon for Are your sure you want to modify the inheritance and propagation on the resource?
o Click the Done icon
o Repeat the above steps for YourCo News Details,YourCo User Info, YourCo Internal News, YourCo Products, YourCo Promotions portlets, YourCo Offers Banner, YourCo Offers and YourCo Services

Add Portlet instance on a mobile page


o Login into the Portal Server as Adminstrator
o Select Administration->Manage Mobile Pages
o Expand Content Root -> Home -> Mobile Portal
o In the left panel under Manage Mobile Pages, click the New Page icon
o Under Title, enter Mobile Personalization
o In the Type of Page section, select Set Page Layout Properties
o Tick the checkbox for XDIME option

o Click on the OK icon
o Click Ok icon on Page Properties
o Navigate to Content Root->Home->Mobile Portal->Mobile Personalization
o In the Portlets section of the right panel, select Edit
o In the left panel, select Add Portlets icon
o Search By: Title Starts with Search: YourCo News
o Select YourCo News and click OK
o Click Done
o In the same fashion other portlets (YourCo News Details, YourCo User Info, YourCo Promotions, YourCo

Testing


o Using a mobile device simulator/UserAgent, login into the Mobile Portal as one of the below user ids:
1. scott
2. andy
3. marge
4. tawana
and password pzndemo
o Access the Mobile Personalization Page just now created and view portlet that is added on the Page.

  • Edit
  • More Actions Show Menu▼


expanded Attachments (1)
collapsed Attachments (1)
Edit the article to add or modify attachments.
File TypeSizeFile NameCreated On
application/octet-stream 673 KB pzndemo.war 10/22/10 10:36 AM
expanded Versions (7)
collapsed Versions (7)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (7)Oct 22, 2010 5:42:08 PMVinod Appajanna  IBM contributor
6Oct 22, 2010 5:15:14 PMVinod Appajanna  IBM contributor
4Oct 22, 2010 4:51:15 PMVinod Appajanna  IBM contributor
3Oct 22, 2010 3:28:13 PMVinod Appajanna  IBM contributor
2Oct 22, 2010 3:07:43 PMVinod Appajanna  IBM contributor
1Oct 22, 2010 10:44:17 AMVinod Appajanna  IBM contributor
1Oct 22, 2010 2:52:07 PMVinod Appajanna  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use