Skip to Main Content
Feature Request FR-4618
Product Area Application Builder
Status CLOSED

3 Voters

Please Allow inline CSS & JavaScript on the Global Page (Page 0)

seanted88 Public
· Aug 20 2025

Idea Summary
Today, the Global Page (Page 0) does not offer the same Inline CSS and JavaScript attributes that exist on regular pages. This makes it harder to add small, app-wide styling or script tweaks without creating external files or scattered workarounds. Please add built-in fields on the Global Page for inline CSS and for JavaScript (both “Function and Global Variable Declaration” and “Execute when Page Loads”), so code can run on every page consistently.

Use Case
Quick, app-wide styling adjustments (e.g., spacing, hiding elements, theme overrides) without uploading files.

Small scripts that must run on all pages (e.g., analytics hooks, accessibility fixes, dynamic RTL/LTR tweaks).

Tenant/customer-specific customizations controlled by conditions or Build Options.

Rapid prototyping and debugging that can later be moved to files if needed.

Preferred Solution (Optional)

Add a CSS and JavaScript section to Page 0 → Attributes, mirroring regular page features:

CSS: Inline text area and File URLs (optional), with Location (Head/Inline end of Body).

JavaScript: Function and Global Variable Declaration and Execute when Page Loads.

Support Server-side Condition, Build Options, Substitutions (&APP_…&), and CSP nonce.

Optional: “Minify on Deploy” toggle and a warning about CSP when inline code is used.

We reviewed this idea carefully, and while it was interesting, we concluded that due to all the internal implications we need to take into account, it is unlikely to make its way into APEX.

Comments

Comments

  • ino.laurensse OP 2 weeks ago

    This was requested before, but denied. I think the arguments in the request and comments are still valid.

  • vincent morneau Admin OP 14 hours ago

    Hi @seanted88 unfortunately we have decided to close this one too. Creating a file in the Shared Components Application Static Files is the way to go. You can even edit it from there directly and it will be minified. APEX ensures it's as simple to edit files in Shared Component than to edit inline JS and CSS. No need to upload every time.