HTML Definitions
Categories:
- Target Database: —
- Context Type: —
- Alert Severity: —
- Triggered Time: —
- Firing Context:
—
What It Is
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.
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.
What This Consolidates
In App Designer the HTML catalog requires opening File → Open → HTML and loading each object one at a time. psLens makes the catalog searchable and shows the content inline. Useful when tracing a script tag in rendered page source back to its HTML object.