HTML Definitions
Categories:
- Target Database: —
- Context Type: —
- Alert Severity: —
- Triggered Time: —
- Firing Context:
—
HTML definitions are PeopleSoft’s catalog of HTML fragments, JavaScript snippets, and template bodies stored in PSCONTDEFN. Anything a page or report needs to embed — a JavaScript helper, an email body template, a custom Fluid grid layout — is normally stored as a named HTML object and pulled into PeopleCode with GetHTMLText(). psLens shows the full content of the definition so you can read what the application is actually injecting at runtime.
Object Relationships
HTML Definitions provide reusable markup and script templates:
- Embedded in Pages: HTML definitions (
PSCONTDEFN) store HTML/JS fragments bound to HTML area controls on page definitions. - Loaded via PeopleCode: Programs invoke
GetHTMLText()to retrieve and interpolate dynamic values into HTML templates.
How psLens Improves HTML Definition Inspection
In Application Designer, inspecting HTML definitions requires opening individual objects through File → Open → HTML and loading each item into separate editor windows.
psLens makes the entire HTML definition catalog instantly searchable with syntax-highlighted content and project membership presented inline.
Search Page
URL: /htmldefs?db={database}

HTML Definition search results for PT_%
Wildcard % search supported. Each card shows the HTML object’s name and last-updated metadata.
Detail Page
URL: /htmldefs/{NAME}?db={database}

HTML Definition detail page for PTADSDYNGRID_SCRIPT
The main pane shows HTML Definition Properties (description, audit metadata) and the full HTML Content body, syntax-highlighted. The sidebar has one related-data toggle.

Full detail page with the Projects panel expanded
Related Data Panels
Included in Projects

App Designer projects that include this HTML definition
App Designer projects that include this HTML object.