Skip to content

Global Customization and OEM ​

This page turns common support questions into a decision guide for page styling, page behavior, fixed copy, and Data Agent runtime capabilities.

If I want to hide buttons, tabs, or cards, what should I use first? ​

Use Global CSS first.

Those requests focus on page presentation. Common examples:

  • hide "Industry Cases" or "Teaching Help" on the home page
  • hide "Forgot password" on the login page
  • hide "Export" or "Go Edit" in the app marketplace
  • hide "User Group" or "Organization" tabs in dialogs
  • limit which chart types are visible in chart dialogs

When a stable selector can target the element, start with CSS.

If I want to change welcome copy, button copy, or empty-state text, what should I use first? ​

If you know the i18n key, use window.customI18nPostProcessor() first.

It overrides copy after i18n lookup with a stable maintenance path. It is especially good for:

  • changing Copilot / Data Agent welcome copy
  • changing fixed button labels
  • changing empty-state or prompt text
  • tenant-level branding copy overrides

Use Global JS DOM manipulation when the copy depends on routing, structure, or render timing.

When is Global JS DOM manipulation actually the right tool? ​

Use Global JS when the requirement depends on routing, render timing, or runtime state.

Common examples:

  • replacing the no-data text after a chart renders
  • forcing the browser tab title to remain the company name
  • hiding a dropdown option only on a specific page
  • redirecting after logout
  • blocking /login or injecting third-party statistics scripts

In short: CSS for presentation, i18n hook for fixed copy, and JS for runtime-dependent behavior.

If I want to extend Data Agent knowledge and tool guidance, what should I use? ​

Use Runtime Skills. Administrators package business rules, metric definitions, analysis steps, and tool guidance in SKILL.md, then upload, activate, and validate the Runtime Skill ZIP.

Runtime Skills load in the server-side Agent runtime and are suitable for:

  • enterprise FAQ, knowledge-base, and industry terminology;
  • usage instructions for order, inventory, ticket, and approval APIs;
  • search, vector retrieval, and third-party SaaS procedures;
  • conventions for analysis conclusions, chart delivery, and confirmation.

In OEM projects, which layer should handle which kind of requirement? ​

Use this shortcut:

OEM requirementPreferred mechanism
Colors, fonts, borders, hiding cards/buttonsGlobal CSS
Fixed copy, welcome copy, promptscustomI18nPostProcessor()
Runtime-dependent behavior or redirectsGlobal JS
Data Agent industry knowledge and tool guidanceRuntime Skill

If a requirement mixes presentation and behavior, combine CSS and JS.

How do I recover Global CSS or Global JS configuration? ​

The product provides recovery paths:

  • CSS recovery: open a URL with no-global-css, for example https://{host}/setting/global-css?no-global-css=true
  • JS recovery: open a URL with no-global-js, for example https://{host}/setting/global-js?no-global-js=true

You can also adjust the configuration from the backend side, then return to the UI to complete the repair.

How do I choose CSS or JS for a hiding requirement? ​

Hiding requirements generally fall into two categories:

  1. the element is already rendered and needs a presentation change → prefer CSS
  2. the element appears by route, dialog timing, or runtime state → use JS

For example:

  • a fixed "Export" button in the app marketplace → CSS is enough
  • a menu item that only appears in a specific route or after a dropdown opens → JS observation is often needed

Further reading:

User Manual for Hengshi Analysis Platform