Organization
The Organization module provides access to organization-level contextual information when a widget is rendered within supported locations, including the Settings pages. Widgets can retrieve organization identifiers and configuration-related metadata for use in validations, conditional logic, and UI extensions.
Methods
Methods
Get Organization Details
Retrieves data related to the current context. This method allows your widget to fetch record details, field values, or metadata required for rendering or processing logic.
Commonly used for :
- Fetch record information
- Read field values
- Access contextual module data
Sample Code :
REQUEST DETAILS
window.onload = function () {
ZFAPPS.extension.init().then(function(App) {
ZFAPPS.get('organization').then(function (data) {
//response Handling
}).catch(function (err) {
//error Handling
});
});
}
Supported Input Keys :
| Property | Request |
|---|---|
| organization_id | organization.organization_id |
| org_email | organization.org_email |
| org_mode | organization.org_mode |
| org_name | organization.org_name |
| data_center_extension | organization.data_center_extension |
| branches | organization.branches |
| api_root_endpoint | organization.api_root_endpoint |
| address | organization.address |