HTML Advanced Portlets. Your Guides: Ben Rimmasch, Rahul Agrawal

Similar documents
GEL Scripts Advanced. Your Guides: Ben Rimmasch, Yogesh Renapure

NSQL Portlets. Your Guides: Vipin Chouhan, James Gille

regoxchange Content Review Your Guides: Eric Taylor & Joshua Leone

Roadmaps in the New UX. Your Guides: Jen Scarlato & Ross Hensel

Project Management OOTB Introduction. Your Guide: Sara Garvey

MSP Installation Tips & Tricks. Your Guides: Rob Greca and Jenn Rinella

CA PPM 14.3: Studio 300 Bundle

Gel Scripts Beginner. Your Guides: James Gille, Yogesh Renapure

Beginning HTML. The Nuts and Bolts of building Web pages.

Data Model Beginner. Your Guide: Anthony Alcala, Vipin Chouhan

LabWare 7. Why LabWare 7?

CIW 1D CIW JavaScript Specialist.

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

All India Council For Research & Training

Learn Web Development CodersTrust Polska course outline. Hello CodersTrust! Unit 1. HTML Structuring the Web Prerequisites Learning pathway.

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

Xerte. Guide to making responsive webpages with Bootstrap

Web Development. With PHP. Web Development With PHP

Master Project Software Engineering: Team-based Development WS 2010/11

Jquery Ajax Json Php Mysql Data Entry Example

Static Webpage Development

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

Surveyor Getting Started Guide

Contents. Acknowledgments

PlayerLync Forms User Guide (MachForm)

20486-Developing ASP.NET MVC 4 Web Applications

Building Effective ASP.NET MVC 5.x Web Applications using Visual Studio 2013

Client Side JavaScript and AJAX

Web API Lab. The next two deliverables you shall write yourself.

Control for CloudFlare - Installation and Preparations

WebSphere Puts Business In Motion. Put People In Motion With Mobile Apps

Design Document V2 ThingLink Startup

CIS 3308 Web Application Programming Syllabus

55191: Advanced SharePoint Development

REST in Peace Mastering the JSDO with a Dynamic ABL backend. Mike Fechner, Consultingwerk Ltd.

55249: Developing with the SharePoint Framework Duration: 05 days

Web Design & Dev. Combo. By Alabian Solutions Ltd , 2016

08/10/2018. Istanbul Now Platform User Interface

First Simple Interactive JSP example

CA Clarity PPM v13.x Professional Certification Exam (CAT-221) Study Guide Version 1.4

HTML5 and CSS3 for Web Designers & Developers

Configurator 360 Hands-On Lab

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES. INSTALLING FONTS :: Download, Install, & Embed Your Fonts. LECTURE :: Responsive Web Design [RWD]

Understanding Page Template Components. Brandon Scheirman Instructional Designer, OmniUpdate

Bonus Lesson: Working with Code

The Structure of the Web. Jim and Matthew

IBM Forms V8.0 Custom Themes IBM Corporation

IBM Worklight V5.0.6 Getting Started

Configuring ArcGIS Enterprise in Disconnected Environments

Get in Touch Module 1 - Core PHP XHTML

Atmel Studio IDE for RIO-2015PG User Guide

IBM Forms Experience Builder

HTML. Based mostly on

Release Preview Test Plan

Brief Intro to Firebug Sukwon Oh CSC309, Summer 2015

Participation Status Report STUDIO ELEMENTS I KATE SOHNG

CUSTOMER PORTAL. Custom HTML splashpage Guide

Extend EBS Using Applications Express

Site Audit SpaceX

Microsoft. Inside Microsoft. SharePoint Ted Pattison. Andrew Connell. Scot Hillier. David Mann

Deliver and manage customer VIP POCs. The lab will be directed and provide you with step-by-step walkthroughs of key features.

AR0051 JQuery. Michelle Bettman Henry Kiksen. Challenge the future

Overview... 4 JavaScript Charting and Metric Insights... 5

In this third unit about jobs in the Information Technology field we will speak about software development

DELIZIOSO RESTAURANT WORDPRESS THEME

DATABASE SYSTEMS. Introduction to web programming. Database Systems Course, 2016

INDEX COPYRIGHTED MATERIAL

Website Design (Weekend) By Alabian Solutions Ltd , 2016

ACA Dreamweaver Exam Notes

28 JANUARY, Updating appearances. WordPress. Kristine Aa. Kristoffersen, based on slides by Tuva Solstad and Anne Tjørhom Frick

A pixel is not a pixel. Peter-Paul Koch BlackBerry Jam, 6 February 2012

Section 1. How to use Brackets to develop JavaScript applications

Course Details. Skills Gained. Who Can Benefit. Prerequisites. View Online URL:

Programming Fundamentals of Web Applications

How A Website Works. - Shobha

Professional Course in Web Designing & Development 5-6 Months

1. I NEED TO HAVE MULTIPLE VERSIONS OF VISUAL STUDIO INSTALLED IF I M MAINTAINING APPLICATIONS THAT RUN ON MORE THAN ONE VERSION OF THE.

A mobile campus project

Grails Jasper Plugin - Reference Documentation. Puneet Behl. Version RC1

PHP & PHP++ Curriculum

ArcGIS Enterprise: Portal Administration BILL MAJOR CRAIG CLEVELAND

Improved Web Development using HTML-Kit

How APEXBlogs was built

JavaScript Programming

JavaScript Fundamentals_

JSN UniForm User Manual. Introduction. A simple contact form created by JSN UniForm. JSN UniForm is a Joomla form extension which helps you create

WEB SECURITY WORKSHOP TEXSAW Presented by Solomon Boyd and Jiayang Wang

Introduction. Introduction

welcome to BOILERCAMP HOW TO WEB DEV

AR0051: Digital Presentation Portfolio. AR0051 JQuery. Nord-Jan Vermeer Henry Kiksen. Challenge the future

Reference Cart and One Page Checkout BETA February 3, 2014 Version 2014 Release 1

"Charting the Course... MOC A: Developing with the SharePoint Framework. Course Summary

CIS 408 Internet Computing Sunnie Chung

SharePoint 2013 Web Sites

Calendar Management A Demonstration Application of TopBraid Live

FORMS. The Exciting World of Creating RSVPs and Gathering Information with Forms in ClickDimensions. Presented by: John Reamer

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

Getting started with Convertigo Mobilizer

Classroom Blogging. Training wiki:

Adobe CC as Wireframe and Web Design Tool

Transcription:

HTML Advanced Portlets Your Guides: Ben Rimmasch, Rahul Agrawal

Introductions 2 Take 5 Minutes Turn to a Person Near You Introduce Yourself

Agenda 3 HTML Portlets Overview HTML Portlet Use Cases Development Strategies JavaScript jquery Building an Announcement HTML Portlet Exercise

4 HTML Portlets Overview

Overview 5 HTML portlets are embedded HTML HTML portlets can sometimes fill a void where a standard portlet (or even out of the box create/edit screen) cannot provide all of the functionality required For example, scheduling integrations with other systems are often displayed in a JavaScript HTML portlet. Fancy formatting (non-grid) data is often displayed in HTML portlets (announcement portlets) HTML portlets can be used to embed other webpages in Clarity HTML portlets can contain JavaScript (and jquery) code to provide additional capabilities

6 HTML Portlet Use Cases

HTML Portlet Use Cases 7 Calendar/Scheduling Interface

HTML Portlet Use Cases 8 Fancy/Unsupported Graphs/Charts

HTML Portlet Use Cases 9 Integrations

HTML Portlet Use Cases 10 Embedding another web page (This is a JasperReport on the project dashboard)

11 Development Strategies

Development Strategies 12 Files can be hosted from the Tomcat server s root directory Usually this is <NIKU_HOME>/webroot SaaS customers do not have this option but files can be uploaded to the Knowledge Store and CA PPM will serve them from there. Traditional web development follows traditional development practices where separation of UI and logic is desired. Separate code into libraries for reuse if possible Separate styling into CSS files if possible Limitations in CA PPM makes some best practices difficult or impossible

Development Strategies - JavaScript 13 To develop complicated JavaScript/jQuery portlets sometimes development is best done outside of CA PPM. An IDE compatible with JavaScript often saves a lot of development time Being familiar with debugging tools such as Firebug, SoapUI, and Postman is also necessary at times Most modern browsers support the debugger; expression which acts as a break point. This is especially handy when developing in CA PPM because scripts are loaded via jquery and are often impossible to locate in the resources of a page.

CA PPM Dos and Don ts 14 Declaring JavaScript in the HTML portlet (don t include files via URL) is one option. For example:

CA PPM Dos and Don ts 15 The reason this works well is because all parts of the JavaScript will be loaded at run-time at the same time. It makes deployments easier typically as only the HTML needs to be updated. This does not provide optimal code organization. You may have similar code in all of HTML portlets that would need to be modified on a change. This also works but is not recommended in case development outside of Clarity is necessary. Some browsers won t interpret correctly HTML without all required tags.

CA PPM Dos and Don ts 16 Declaring JavaScript in separate files and including them in the HTML portlet is another option. Elements from the first and second approach combined is probably the best option overall. Established library files can be uploaded into the KS and code specific to the portlet can be declared in the HTML portlet and invoked in a callback method after the KS files are loaded. There are many possible pitfalls to this approach. These are best represented in code. Below are examples.

CA PPM Dos and Don ts 17 Declaring the portlet and JavaScript in files in the Knowledge Store is another option. The portlet is then embedded into a second HTML portlet that contains nothing except code to embed the first HTML portlet from the KS. The first HTML portlet includes JavaScript in tags or as URLs as normal. A benefit to this approach is that code can be structured traditionally. A drawback is that any time code is modified it must be checked out and check back in or the URLs must be changed. Another drawback is that different versions of Clarity treat JavaScript differently and this method has broken in various upgrades (and patches)

CA PPM Dos and Don ts 18 There are a few possible pitfalls to this approach as well. These are represented in code below. Supporting code for options above including test cases and results.

CA PPM Dos and Don ts - jquery 19 jquery (v1.11.2) is already included in the HTML of CA PPM It unfortunately can t be referenced as it is traditionally with $ because the character is stripped from scripts if they are declared in the HTML portlet It can be referenced as jquery or window.jquery For example:

20 Building an Announcement Portlet

Building an Announcement Portlet 21 Master Object: Announcement Item Stores the metadata for the announcement including the message and the display date Sub-object: Date Used for date ranges the announcement should be shown NSQL Query Called from the HTML portlet to return the announcements a user should see at the current time

Building an Announcement Portlet 22 Supporting files for compatibility Logo Audio Files CSS for the Crawl JS library for the Crawl The HTML portlet code This is where everything comes together. The links in this portlet need to be modified to match the IDs of the files from the KS in the target instance

Building an Announcement Portlet 23 Demo and code review Experiences and comments

Questions?

Thank You For Attending regouniversity 25 Instructions for PMI credits Access your account at pmi.org Click on Certification Click on Maintain My Certification Scroll down to Report PDU s Click on Course Training (or other appropriate category) Enter Rego Consulting Enter Activity- Enter Name of Course Enter Description Enter Date Started Enter Date Completed Provide Contact Person Name of Person to Contact Provide Contact E-Mail E-Mail of Person to Contact Enter Number of PDU s Claimed (1 PDU per course hour) Click on the I agree this claim is accurate box Click Submit button Let us know how we can improve! Don t forget to fill out the class survey. Phone 888.813.0444 Email info@regouniversity.com Website www.regouniversity.com