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 4 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.
-
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.
Popular Salesforce Blogs
Validation Rules in Salesforce | All You Need to Know
Validation rules in Salesforce are used to enforce data quality by ensuring that data entered into Salesforce meets certain standards. They are used to validate…
Top 7 benefits of Slack & Salesforce integration
Salesforce and Slack are two leaders in their fields: Salesforce is a top CRM service provider; Slack is a communication platform popular through large and…
How to make Error Handling in the Batches much Easier?
Have you ever faced such situation, when your batch handles loads of data, and suddenly one of chunks has failed, and to understand the cause…