@salesforce/sdk-view
v1.117.1
Published
The View SDK provides a unified interface for visual interactions and user feedback across different Salesforce application surfaces. It handles notifications, alerts, and modal dialogs, automatically adapting to the hosting environment.
Maintainers
Keywords
Readme
@salesforce/sdk-view
The View SDK provides a unified interface for visual interactions and user feedback across different Salesforce application surfaces. It handles notifications, alerts, and modal dialogs, automatically adapting to the hosting environment.
Purpose
The View SDK manages interactions that affect the visual shell or user feedback, independent of business data. It abstracts away the complexity of different hosting environments, allowing applications to deliver consistent user experiences whether running in a web application, embedded iframe, or conversational interface.
Key Capabilities
- Notifications: Display alerts, toasts, and confirmations appropriate to the hosting environment
- Modals: Request the host to overlay modal dialogs, even within iframe constraints
- Surface Adaptation: Automatically detects and adapts to the runtime environment
Supported Surfaces
The View SDK supports the following application surfaces:
- Web Applications: Standard Salesforce web applications with native browser capabilities
- Micro Frontends: Embedded iframe applications that communicate through the host bridge
- OpenAI ChatGPT Apps: Conversational interfaces integrated with ChatGPT
Architecture
The View SDK is part of the Salesforce Platform SDK ecosystem and works alongside other domain-specific SDKs:
- @salesforce/sdk-core: Provides runtime detection and initialization
- @salesforce/sdk-data: Unified data access layer
- @salesforce/sdk-chat: Conversational flow participation
Status
Status: Experimental (Private Package)
This package is currently marked as private and intended for internal use within the Salesforce Web Applications monorepo.
License
Copyright (c) 2026, Salesforce, Inc. All rights reserved. For full license text, see the LICENSE.txt file.
