Activity › Forums › Salesforce® Discussions › What is aura definition bundle in Salesforce?
-
What is aura definition bundle in Salesforce?
Posted by Shubham on May 1, 2018 at 10:58 AMWhat is aura definition bundle?
Pooja replied 6 years, 2 months ago 5 Members · 4 Replies -
4 Replies
-
Hi shubham,
It represents a Lightning definition bundle, it contains a Lightning definition and all its related resources. It could define a component, application, event, interface, or a tokens collection.
An AuraDefinitionBundle component is a collection of component definition files, each representing a different resource such as markup code, event documentations, applications and interfaces.
Lightning bundles must be under a top-level folder that’s named aura. Each bundle must have its own subfolder under the aura folder.
Thanks.
- [adinserter block='9']
-
Hi Shubham,
Represents a Lightning definition bundle. A bundle contains a Lightning definition and all its related resources. The definition can be a component, application, event, interface, or a tokens collection.
File Suffix and Directory Location
A Lightning bundle is a folder that contains definition files. Unlike other metadata components, an AuraDefinitionBundle component isn’t represented by a single component file but instead by a collection of component definition files. Each definition file represents a resource in a bundle, such as markup, applications, code files (including controllers and helpers), events, documentation, and interfaces. For example, this directory structure shows the hierarchy of the folders and files for two bundles: bundle1 and bundle2.aura
bundle1
bundle1.cmp
bundle1Controller.js
bundle2
bundle2.app
bundle2.cmp
bundle2Controller.js
bundle2.auradocThanks
-
Hi
Lightning definition represents bundle and all its related resources. The definition can be a component, application, event, interface, or a tokens collection.
Unlike other metadata components, an AuraDefinitionBundle component isn’t represented by a single component file but instead by a collection of component definition files. Each definition file represents a resource in a bundle, such as markup, applications, code files (including controllers and helpers), events, documentation, and interfaces.This object is available in API version 32.0 and later.
Thanks
-
A Lightning bundle is a folder that contains definition files. Unlike other metadata components, Unlike other metadata components, an AuraDefinitionBundle component isn’t represented by a single component file but instead by a collection of component definition files.
Log In to reply.