search cancel

HTML portlet formating

book

Article ID: 202592

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Formatting issue noticed while creating simple HTML portlets within clarity PPM.

HTML code used within the PPM clarity portlet:

<html>
<body>
<h1>Test H1</h1>
<ul>
<li>Case with priority 2:</li>
<li>Case with priority 3:</li>
<li>Case with priority 4:</li>
<li>Case without priority:</li>
</ul>
  </body>
</html>

Expected result:

Formatting from HTML code considered.

Actual Result:

Formatting ignored from code.

Environment

Release : 15.8.1 and PPM 15.9

Component : CLARITY PPM APPLICATION

Cause

The HTML list tag < li > and heading tag < h1 > elements appears to be having compatibility issues with the HTML editor/compiler built on the clarity PPM classic UI. Unlike the modern day html5 editors, the html formatting options on PPM clarity classic UI only supports basic tags for simple HTML enabled to display static data.

Resolution

Alternate HTML code suggested:

 

<html>
<body>
<style>
p {
  font-family: verdana;
  font-size: 20px;
}
</style>
<p>Test H1</p>
<br>
&#8226; Case with priority 2: <br>
&#8226; Case with priority 3:<br>
&#8226; Case with priority 4:<br>
&#8226; Case without priority:<br>
<br>
</body>
</html>

Additional Information

Visit techdocs for official reference on developing HTML portlets.