Script Portlet in Websphere Portal Server v8.5 – #1

Script Portlet in Websphere Portal Server v8.5 – #1

The IBM Script Portlet enables a script developer to create portlets for IBM WebSphere Portal with HTML, JavaScript, and CSS. As stated in IBM Websphere Portal server Knowledge Center,

The following key WebSphere Portal and IBM Web Content Manager features are available with the Script Portlet:

  • Content targeting based on devices or locations
  • Access to user login information
  • Adaptive design that uses conditional rendering
  • Access to shared render parameters, portlet preferences, and live text

The Script Portlet has the following advantages:

  • Users have more autonomy and less dependence on central IT for portlet development, which decreases the time to market.
  • Users need less skill to be productive WebSphere Portal developers.
  • Users control access and workflow processes in enterprise settings.
  • Users can create reusable assets and contents.
  • Users can render existing portlets, such as those developed with IBM Web Experience Factory or IBM Rational Application Developer, on a page with portlets by using Script Portlet.

 

1.Download Script Portlet 1.3 from Greenhouse,

https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp?action=editDocument&documentId=DDB5C467D991413285257C67002476E0

Scriptportlet.zip file contains scriptportlet-app.1.3.0.paa which needs to be installed in Websphere Portal v8.5.

 

2.Script Portlet Installation with Websphere Portal

Navigate to Portal server profile Configengine folder and issue the bloe command to start Script Portlet Installation.

Script Portlet Can be installed on Base Portal or it can be deployed on Virtual Portal.

Base Portal Installation process

Configengine command will be executed twice, for Install and then Deploy

ConfigEngine.bat install-paa -DPAALocation=C:\Portal85\Scriptportlet\scriptportlet-app-1.3.0.paa -DWasPassword=wpadmin -DPortalAdminPwd=wpadmin

Script Portlet in Websphere Portal Server v8.5 - #1

Make sure that Build Successful message is seen after running the command.

Execute below command for deploying Script Portlet

ConfigEngine.bat deploy-paa -DappName=scriptportlet-app -DWasPassword=wpadmin -DPortalAdminPwd=wpadmin

Script Portlet in Websphere Portal Server v8.5 - #1

Restart Websphere Portal Server.

In #2, I have captured screen that show on how to deploy and use script portlet.