7
Most read
8
Most read
9
Most read
1
HIMANSHU MENDIRATTA
Integrate Angular in Portal
Overview
2
IBM has brought several product innovation and advancement with advent of WebSphere Portal in web-
based projects.
In particular, IBM has launched a JavaScript based portlet referred as IBM Script Portlet which would
facilitate easy portlet development in WebSphere Portal server.
Any novice web developer with minimal web development skills like HTML, JavaScript, and CSS can
effortlessly create and deploy their application in WebSphere Portal server.
We will be skipping the Script Portlet as there are many easy available material around that.
Those who want to take a look can open below link :
https://help.hcltechsw.com/digital-experience/8.5/script-portlet/script_portlet.html
Now let’s discuss how we can integrate Angular with Portal. Any JavaScript framework application can
be imported as a JSR-286 portlet and hosted on WebSphere Portal. Since the sample application is
platform agnostic, the same code can be run as a portlet or mobile app, allowing reuse over multiple
devices and platforms with minimal changes. Before that let’s go through the Angular and Portal
prerequisites.
Prerequisites & Key resources
3
1. Sample Angular application
2. API {can run on independent server }
3. Portal API wrapper { wrapper on main API }
4. Custom Portal Theme { Static & Dynamic theme}
5. StaticImageResource module { optional – Static custom theme can be extended but separate
module is recommended }
6. WebSphere Portal version 8.5, CF 09 or higher { earlier version will also support but not tested }
7. Knowledge of Angular framework & routing in angular.
8. Basic knowledge of Portal development & deployment
What is Angular
4
Angular is an application design framework and development platform for creating efficient and
sophisticated single-page apps
Angular is a platform and framework for building single-page client applications using HTML and
TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of
TypeScript libraries that you import into your applications.
Workflow of Angular application
5
Portal key component
6
Integration flow
7
Steps to done at Angular End
8
Following steps needs to changed before integrating angular application in Portal
1. Make an entry in app-routing.module.ts for path :’**’
E;g { path: '**', redirectTo: 'entity-dashboard’ }
2. Make sure to use env specific URL for calling API service with constant name such that your generate
main file contains below syntax
this.envir=“PROD",this.apiUrl="https://x.x.x.x:yy/APIService/CustomAPIService"
3. Run ng build -prod to package and compress the application into the /dist folder.
4. Copy dist folder
Steps to done at Portal End
9
Following steps needs to changed before deploying Portlet Application in Portal
1. Create & Deploy an API wrapper as EAR (one time ), sample snippet to communicate with main API
2. Create a basic portlet
3. Create one folder as “resource” under webcontent and copy dist folder files under that
Steps to done at Portal End
10
4. Include angular application generated files using below snippet
<app-root class="edbg"></app-root>
<script src="<%=request.getContextPath()%>/resource/runtime-es2015.cdfb0ddb511f65fdc0a0.js"
type="module"></script>
<script src="<%=request.getContextPath()%>/resource/runtime-es5.cdfb0ddb511f65fdc0a0.js"
nomodule defer></script>
<script src="<%=request.getContextPath()%>/resource/polyfills-es5.9053a67df7ccf4d37537.js"
nomodule defer></script>
<script src="<%=request.getContextPath()%>/resource/polyfills-es2015.728c189c1d716d4d2016.js"
type="module"></script>
<script src="<%=request.getContextPath()%>/resource/main-es2015.c3bca1103db58cd8f684.js"
type="module"></script>
<script src="<%=request.getContextPath()%>/resource/main-es5.c3bca1103db58cd8f684.js"
nomodule defer></script>
Note : file references can be taken from index.html file generated in dist folder.
Steps to done at Portal End
11
5. Now find and replace the paths of below constants inside main.xxxxx.js { both files }
a. path of API call
b. Path of images if any
6. Export the war and your application is ready to be deployed in Portal with all Angular routing rules.
Advantages
12
. The Custom Application has the following advantages:
1. Users have more autonomy and less dependence on central IT for portlet development, which
decreases the time to market.
2. Users need less skill to be productive HCL Portal developers.
3. Users can render existing portlets, such as those developed with HCL Experience Factory or
IBM Rational Application Developer, on a page with portlets by using custom Application.
Thank You
13

More Related Content

PDF
Amazon Aurora 100% 활용하기
PDF
Windows Server 2022 Datacenter Azure Edition Overview
PDF
[D35] インメモリーデータベース徹底比較 by Komori
PPTX
Databricksを初めて使う人に向けて.pptx
PPTX
Backup, Restore, and Disaster Recovery
PDF
Optimizing S3 Write-heavy Spark workloads
PDF
Confluent Workshop Series: ksqlDB로 스트리밍 앱 빌드
PDF
[오픈테크넷서밋2022] 국내 PaaS(Kubernetes) Best Practice 및 DevOps 환경 구축 사례.pdf
Amazon Aurora 100% 활용하기
Windows Server 2022 Datacenter Azure Edition Overview
[D35] インメモリーデータベース徹底比較 by Komori
Databricksを初めて使う人に向けて.pptx
Backup, Restore, and Disaster Recovery
Optimizing S3 Write-heavy Spark workloads
Confluent Workshop Series: ksqlDB로 스트리밍 앱 빌드
[오픈테크넷서밋2022] 국내 PaaS(Kubernetes) Best Practice 및 DevOps 환경 구축 사례.pdf

What's hot (20)

PDF
How To Configure Nginx Load Balancer on CentOS 7
PPTX
Introduction to ansible
PPTX
大量のデータ処理や分析に使えるOSS Apache Spark入門(Open Source Conference 2021 Online/Kyoto 発表資料)
ODP
Presto
PDF
Terraform + ansible talk
PDF
AWS Black Belt Techシリーズ Amazon CloudWatch & Auto Scaling
PDF
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
PPTX
Design Patterns For Real Time Streaming Data Analytics
PDF
Ansible Playbook
PDF
Deploying Flink on Kubernetes - David Anderson
PDF
Running Apache NiFi with Apache Spark : Integration Options
PPT
Ansible presentation
PPTX
Introduction to Ansible
PDF
Apache Calcite: One Frontend to Rule Them All
PPT
Wait events
PDF
ksqlDB로 실시간 데이터 변환 및 스트림 처리
PDF
Raffi Krikorian, Twitter Timelines at Scale
PDF
SQL Server中級者のための実践で使えるかもしれないTips集
PPTX
Presentation Hadoop Québec
PDF
Ansible - Introduction
How To Configure Nginx Load Balancer on CentOS 7
Introduction to ansible
大量のデータ処理や分析に使えるOSS Apache Spark入門(Open Source Conference 2021 Online/Kyoto 発表資料)
Presto
Terraform + ansible talk
AWS Black Belt Techシリーズ Amazon CloudWatch & Auto Scaling
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
Design Patterns For Real Time Streaming Data Analytics
Ansible Playbook
Deploying Flink on Kubernetes - David Anderson
Running Apache NiFi with Apache Spark : Integration Options
Ansible presentation
Introduction to Ansible
Apache Calcite: One Frontend to Rule Them All
Wait events
ksqlDB로 실시간 데이터 변환 및 스트림 처리
Raffi Krikorian, Twitter Timelines at Scale
SQL Server中級者のための実践で使えるかもしれないTips集
Presentation Hadoop Québec
Ansible - Introduction
Ad

Similar to Integrate any Angular Project into WebSphere Portal (20)

PDF
Overview of the AngularJS framework
PDF
Progressive Web Application by Citytech
PPTX
Elevate Your Web Applications with Expert Angular Development Services.pptx
PPTX
AngularJS 1.x - your first application (problems and solutions)
PPTX
PPTX
Agular in a microservices world
PDF
How to build Micro Frontends with @angular/elements
PPTX
introductiontoangularwithasimplebutcompleteproject-171127023401.pptx
PDF
Front End Development for Back End Developers - vJUG24 2017
PDF
How Angular Development services can help you in expanding your business?.pdf
PDF
Angular Multi-env Setup
PDF
How to Implement Micro Frontend Architecture using Angular Framework
PDF
Learn Angular 9/8 In Easy Steps
PDF
Zero to Portlet in 20 minutes or less
PDF
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
PPTX
Angular universal
PPTX
Angular patterns
PPTX
Why do Businesses Choose Angular for Web Portals
PDF
Where and Why Use Angular for Web Development?
PDF
Portets to composite applications
Overview of the AngularJS framework
Progressive Web Application by Citytech
Elevate Your Web Applications with Expert Angular Development Services.pptx
AngularJS 1.x - your first application (problems and solutions)
Agular in a microservices world
How to build Micro Frontends with @angular/elements
introductiontoangularwithasimplebutcompleteproject-171127023401.pptx
Front End Development for Back End Developers - vJUG24 2017
How Angular Development services can help you in expanding your business?.pdf
Angular Multi-env Setup
How to Implement Micro Frontend Architecture using Angular Framework
Learn Angular 9/8 In Easy Steps
Zero to Portlet in 20 minutes or less
Internship-Report-VitulChauhan-18132023-IT_CRUD-OPERATION.pdf
Angular universal
Angular patterns
Why do Businesses Choose Angular for Web Portals
Where and Why Use Angular for Web Development?
Portets to composite applications
Ad

Recently uploaded (20)

PDF
FYJC - Chemistry textbook - standard 11.
PPTX
Approach to a child with acute kidney injury
PDF
horaris de grups del curs 2025-2026 de l'institut
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PDF
New_Round_Up_6_SB.pdf download for free, easy to learn
PPTX
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
PPTX
FILIPINO 8 Q2 WEEK 1(DAY 1).power point presentation
PDF
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PDF
Review of Related Literature & Studies.pdf
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PPTX
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
PPTX
Neurological complocations of systemic disease
PDF
Unleashing the Potential of the Cultural and creative industries
PPTX
GW4 BioMed Candidate Support Webinar 2025
PDF
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
PPTX
climate change of delhi impacts on climate and there effects
PPTX
Environmental Sciences and Sustainability Chapter 2
PPTX
Copy of ARAL Program Primer_071725(1).pptx
FYJC - Chemistry textbook - standard 11.
Approach to a child with acute kidney injury
horaris de grups del curs 2025-2026 de l'institut
Laparoscopic Imaging Systems at World Laparoscopy Hospital
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
New_Round_Up_6_SB.pdf download for free, easy to learn
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
FILIPINO 8 Q2 WEEK 1(DAY 1).power point presentation
LATAM’s Top EdTech Innovators Transforming Learning in 2025.pdf
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
Review of Related Literature & Studies.pdf
CHROMIUM & Glucose Tolerance Factor.pptx
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
Neurological complocations of systemic disease
Unleashing the Potential of the Cultural and creative industries
GW4 BioMed Candidate Support Webinar 2025
BSc-Zoology-02Sem-DrVijay-Comparative anatomy of vertebrates.pdf
climate change of delhi impacts on climate and there effects
Environmental Sciences and Sustainability Chapter 2
Copy of ARAL Program Primer_071725(1).pptx

Integrate any Angular Project into WebSphere Portal

  • 2. Overview 2 IBM has brought several product innovation and advancement with advent of WebSphere Portal in web- based projects. In particular, IBM has launched a JavaScript based portlet referred as IBM Script Portlet which would facilitate easy portlet development in WebSphere Portal server. Any novice web developer with minimal web development skills like HTML, JavaScript, and CSS can effortlessly create and deploy their application in WebSphere Portal server. We will be skipping the Script Portlet as there are many easy available material around that. Those who want to take a look can open below link : https://help.hcltechsw.com/digital-experience/8.5/script-portlet/script_portlet.html Now let’s discuss how we can integrate Angular with Portal. Any JavaScript framework application can be imported as a JSR-286 portlet and hosted on WebSphere Portal. Since the sample application is platform agnostic, the same code can be run as a portlet or mobile app, allowing reuse over multiple devices and platforms with minimal changes. Before that let’s go through the Angular and Portal prerequisites.
  • 3. Prerequisites & Key resources 3 1. Sample Angular application 2. API {can run on independent server } 3. Portal API wrapper { wrapper on main API } 4. Custom Portal Theme { Static & Dynamic theme} 5. StaticImageResource module { optional – Static custom theme can be extended but separate module is recommended } 6. WebSphere Portal version 8.5, CF 09 or higher { earlier version will also support but not tested } 7. Knowledge of Angular framework & routing in angular. 8. Basic knowledge of Portal development & deployment
  • 4. What is Angular 4 Angular is an application design framework and development platform for creating efficient and sophisticated single-page apps Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your applications.
  • 5. Workflow of Angular application 5
  • 8. Steps to done at Angular End 8 Following steps needs to changed before integrating angular application in Portal 1. Make an entry in app-routing.module.ts for path :’**’ E;g { path: '**', redirectTo: 'entity-dashboard’ } 2. Make sure to use env specific URL for calling API service with constant name such that your generate main file contains below syntax this.envir=“PROD",this.apiUrl="https://x.x.x.x:yy/APIService/CustomAPIService" 3. Run ng build -prod to package and compress the application into the /dist folder. 4. Copy dist folder
  • 9. Steps to done at Portal End 9 Following steps needs to changed before deploying Portlet Application in Portal 1. Create & Deploy an API wrapper as EAR (one time ), sample snippet to communicate with main API 2. Create a basic portlet 3. Create one folder as “resource” under webcontent and copy dist folder files under that
  • 10. Steps to done at Portal End 10 4. Include angular application generated files using below snippet <app-root class="edbg"></app-root> <script src="<%=request.getContextPath()%>/resource/runtime-es2015.cdfb0ddb511f65fdc0a0.js" type="module"></script> <script src="<%=request.getContextPath()%>/resource/runtime-es5.cdfb0ddb511f65fdc0a0.js" nomodule defer></script> <script src="<%=request.getContextPath()%>/resource/polyfills-es5.9053a67df7ccf4d37537.js" nomodule defer></script> <script src="<%=request.getContextPath()%>/resource/polyfills-es2015.728c189c1d716d4d2016.js" type="module"></script> <script src="<%=request.getContextPath()%>/resource/main-es2015.c3bca1103db58cd8f684.js" type="module"></script> <script src="<%=request.getContextPath()%>/resource/main-es5.c3bca1103db58cd8f684.js" nomodule defer></script> Note : file references can be taken from index.html file generated in dist folder.
  • 11. Steps to done at Portal End 11 5. Now find and replace the paths of below constants inside main.xxxxx.js { both files } a. path of API call b. Path of images if any 6. Export the war and your application is ready to be deployed in Portal with all Angular routing rules.
  • 12. Advantages 12 . The Custom Application has the following advantages: 1. Users have more autonomy and less dependence on central IT for portlet development, which decreases the time to market. 2. Users need less skill to be productive HCL Portal developers. 3. Users can render existing portlets, such as those developed with HCL Experience Factory or IBM Rational Application Developer, on a page with portlets by using custom Application.