---
sourceDocument: Australia Customer Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/customer-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Key terms referred in Web Embeddables

# Key terms referred in Web Embeddables {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Key terms referred in Web Embeddables

This content defines essential terminology related to ServiceNow Web Embeddables, guiding customers on how to properly embed and manage ServiceNow components on external websites.
Understanding these terms ensures correct implementation, secure communication, and optimal user experience when integrating ServiceNow web components.
Show full answer Show less  

## Key Terms and Their Practical Use

* **Global code:** A universal script applied to all ServiceNow components on your website. It sets themes, base URLs, authentication callbacks, and locale settings, and pre-caches resources to optimize performance. Including this code is mandatory before adding any component code to ensure consistent appearance, secure communication, proper localization, and correct rendering of components.
* **Component code:** A unique script tailored for each specific ServiceNow component. It controls the component's behavior, appearance, and integration, managing dependencies and interactions within your webpage's ecosystem.
* **CORS (Cross-Origin Resource Sharing) rules:** Security settings that regulate access to resources across different domains in browsers. Configuring CORS rules is vital to safeguard your data and ensure secure communication between your embedded components and ServiceNow services.
* **Event handler:** A configuration that triggers specific actions or responses on your website when events occur, such as showing alerts upon user interactions or handling errors like record creation failures.
* **Static preview:** A visual mockup of a component layout used when live previews are unavailable. It helps review component design but does not reflect real-time property changes. Note that static previews are not supported for custom or Data visualization components.
* **Component instance:** Represents a saved configuration of a component placed at a specific location on a third-party website. Administrators can rename, duplicate, or rearrange instances within or across groups.
* **Group:** A way to organize component instances by modeling the structure of your third-party website, such as pages or sections. Groups help manage the placement and hierarchy of components.
* **Module:** Represents an entire website or a section composed of multiple groups and component instances. Module metadata defines global settings such as themes, external domain URLs for CORS, and custom base URLs for ServiceNow domains.

## Why These Terms Matter

For ServiceNow customers embedding components into their websites, understanding these terms is critical to:

* Ensure components render and function correctly with consistent styling and localization.
* Secure the communication between your website and ServiceNow services through proper CORS configuration.
* Effectively organize and manage embedded components using groups and modules that mirror your website structure.
* Handle user interactions and system events dynamically with event handlers.
* Preview components visually when live rendering is not possible.

Implementing these concepts properly enhances component performance, security, and user experience on your third-party websites.  
The following are the key terms referred in Web Embeddables.
{#key-terms-web-embeddables__table_wkj_blc_25b__entry__2}

| Term | Description |
|-|-|
| Global code | Global code is a common script for all the ServiceNow components. It enables you to define component themes, base URLs, authentication callbacks, and locale settings before embedding components onto your website. Additionally, it optimizes component performance by pre-caching the resources required for the components. You must add global code before adding component code onto your website hosting ServiceNow web embeddable components ensuring a consistent look and feel, secure communication, and proper localization. Without including this script, your components don't render correctly or function as expected, potentially leading to issues with your user experience and functionality. |
| Component code | Component code is a component-specific script designed for each component that enables you to define how each component behaves, appears, and integrates within your webpage. The code contains all the necessary logic and functions to ensure the integration and operation of the components in your website's ecosystem. Facilitating the proper display and interaction of the component but also managing dependencies with other components. Note: The component code is unique for all ServiceNow components. |
| CORS (Cross-Origin Resource Sharing) rules | CORS rules are a security mechanism in web browsers designed to control how resources on your webpages are accessed from different domains. This mechanism helps protect your data and resources from unauthorized access. By configuring CORS rules, you can specify and enforce access policies ensuring that your embedded components can securely communicate with ServiceNow components. It is crucial for maintaining the integrity and security of your interactions on the website. |
| Event handler | An event handler lets you configure actions, components, or declarative actions on your website. For example, you can map an event to your component to display an alert notification when the user selects any button on the confirmation message, or you can add an event handler to respond to a record creation failure. |
| Static preview | The static preview provides a visual representation of your component when a live preview is unavailable. It enables you to understand the component layout and design. However, with static preview enabled, any changes made to global or component properties aren't reflected in the preview in real time. This feature is useful for reviewing components in scenarios where dynamic rendering isn't available. The Static preview is not available for custom and Data visualization component. |
| Component instance | Enables administrator to save and retrieve configuration of a component embedded on a specific location on the third-party website. Component instances can be renamed, duplicated, and rearranged within the group or across groups. |
| Group | Enables administrator to model their third-party website structure such as pages or sections. After recreating the website's structure, administrator can add component instances within the group. |
| Module | A module represents a website with a collection of pages or a section using groups and a collection of components instances embedded on the website. The theme for component instances, external domain URL for CORS, and custom ServiceNow domain for base URL are derived from module meta data. |
[Table 1. Web Embeddables key terms]

{#key-terms-web-embeddables__table_wkj_blc_25b}

