Global Functions | Appsmith
https://docs.appsmith.com/reference/appsmith-framework/widget-actions • 46 KB fetched Open original page
Global Functions | Appsmith
Skip to main content
Ask AI
Search
Ask Appsmith AI Submit message
Examples How do I install Appsmith using Docker? How do I connect to my local PostgreSQL database? How do I pass inputs from a widget to a query? How do I trigger multiple queries conditionally? How do I fix the error: This value does not evaluate to type Array<Object>?
Search
Try Appsmith
* Get Started
* Introduction
* Build Your First App
* Self Hosting
* New Installation Guides
* Manage Installation
* Upgrade Installation Guides
* Concepts
* Connect Data
* Overview
* How-to Guides
* Reference
* Datasources
* Query Settings
* Concepts
* Build Apps
* Overview
* Quickstart
* How-to Guides
* Reference
* Widgets
* Accessibility
* Theme
* Sample Apps
* Write Code
* Overview
* How-to Guides
* Reference
* Global Objects
* Global Functions
* clearInterval()
* clearStore()
* closeModal()
* copyToClipboard()
* download()
* logoutUser()
* navigateTo()
* postWindowMessage()
* removeValue()
* resetWidget()
* setTimeout()
* setInterval()
* storeValue()
* showAlert()
* showModal()
* unlistenWindowMessage()
* windowMessageListener()
* JS Libraries
* Fetch API
* Data Transformation
* JavaScript Settings
* Concepts
* Best Practices
* Manage Apps and Users
* Authentication
* Granular Access Control
* Versioning with Git
* Setup SCIM Provisioning
* Embed Appsmith
* Migrate Applications
* Audit Logs
* Branding
* External Client Portal
* Packages
* Overview
* Tutorial
* How-to Guides
* Reference
* Package Version Control
* GIT Apps with Packages Best Practices
* Code Packages
* UI Packages
* Workflows
* Overview
* Tutorial
* How-to Guides
* Reference
* Workflow Triggers
* Workflow Queries
* Workflow Functions
* Pass Parameters to Workflows
* Run History
* Troubleshooting
* Overview
* Self-hosting Errors
* Application Errors
* Product
* FAQ
* Security
* Telemetry
* Support at Appsmith
* Privacy Policy
* Release Notes
* Contribute
© 2026 Appsmith, Inc.
*
* Write Code
* Reference
* Global Functions
Global Functions
Global functions in Appsmith enable you to trigger various actions for widget events and within JS Objects. These functions allow you to navigate to other pages, display alert messages, open or close modals, and manage data in local storage, among other capabilities.
Browse this section to learn about the different actions you can trigger on Appsmith.
clearInterval
Clears a previously set interval, stopping the specified repeated action.
clearStore
Clears all stored values, effectively resetting the local storage state.
closeModal
Closes an open Modal widget.
copyToClipboard
Copies the given text to the clipboard, making it available for pasting.
download
Downloads the file data provided, with an optional file name and type.
navigateTo
Navigates to a different page or URL, either within the Appsmith app or externally.
postWindowMessage
Posts a message to another window, facilitating communication between multiple windows.
removeValue
Removes a stored value, clearing it from local storage or session storage.
resetWidget
Resets a widget to its default state, clearing any set values or changes.
setInterval
Sets a recurring interval, executing a function repeatedly at the specified time intervals.
showAlert
Shows an alert message, displaying a brief notification to the user.
showModal
Displays a modal dialog with content, allowing users to interact with additional information.
storeValue
Stores a value locally, allowing you to use it in other parts of your app or across sessions.
unlistenWindowMessage
Removes a message listener from another window, stopping the reception of posted messages.
windowMessageListener
Listens for messages posted from another window, allowing communication across windows.
Was this page helpful?
Edit this page
Previous
console
Next
clearInterval()
Links found on this page
- Skip to main content [direct]
- Try Appsmith [direct]
- Get Started [direct]
- Build Your First App [direct]
- Self Hosting [direct]
- New Installation Guides [direct]
- Manage Installation [direct]
- Upgrade Installation Guides [direct]
- Concepts [direct]
- Connect Data [direct]
- How-to Guides [direct]
- Reference [direct]
- Query Settings [direct]
- Concepts [direct]
- Build Apps [direct]
- Quickstart [direct]
- How-to Guides [direct]
- Reference [direct]
- Widgets [direct]
- Accessibility [direct]
- Theme [direct]
- Sample Apps [direct]
- Write Code [direct]
- How-to Guides [direct]
- Reference [direct]
- Global Objects [direct]
- clearInterval() [direct]
- clearStore() [direct]
- closeModal() [direct]
- copyToClipboard() [direct]
- download() [direct]
- logoutUser() [direct]
- navigateTo() [direct]
- postWindowMessage() [direct]
- removeValue() [direct]
- resetWidget() [direct]
- setTimeout() [direct]
- setInterval() [direct]
- storeValue() [direct]
- showAlert() [direct]
- showModal() [direct]
- unlistenWindowMessage() [direct]
- windowMessageListener() [direct]
- JS Libraries [direct]
- Fetch API [direct]
- Data Transformation [direct]
- JavaScript Settings [direct]
- Concepts [direct]
- Best Practices [direct]
- Manage Apps and Users [direct]
- Granular Access Control [direct]
- Versioning with Git [direct]
- Setup SCIM Provisioning [direct]
- Embed Appsmith [direct]
- Migrate Applications [direct]
- Audit Logs [direct]
- Branding [direct]
- External Client Portal [direct]
- Packages [direct]
- Tutorial [direct]
- How-to Guides [direct]
- Reference [direct]
- GIT Apps with Packages Best Practices [direct]
- Code Packages [direct]
- UI Packages [direct]
- Workflows [direct]
- Tutorial [direct]
- How-to Guides [direct]
- Reference [direct]
- Workflow Queries [direct]
- Workflow Functions [direct]
- Pass Parameters to Workflows [direct]
- Run History [direct]
- Troubleshooting [direct]
- Self-hosting Errors [direct]
- Application Errors [direct]
- Product [direct]
- Security [direct]
- Telemetry [direct]
- Support at Appsmith [direct]
|
|