Activity › Forums › Salesforce® Discussions › What is aura definition bundle in Salesforce Lightning?
Tagged: API Version, Aura Definition Bundle, Component Definition File, Helper, Metadata, Salesforce Controller, Salesforce Lightning
-
What is aura definition bundle in Salesforce Lightning?
Posted by madhulika shah on July 25, 2018 at 1:00 PMWhat is aura definition bundle?
Prachi replied 7 years, 7 months ago 5 Members · 4 Replies -
4 Replies
-
Hello Madhulika,
A bundle contains a Lightning definition 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.
-
This reply was modified 7 years, 9 months ago by
shradha jain.
-
This reply was modified 7 years, 9 months ago by
- [adinserter block='9']
-
Hi,
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.
Hope this helps.
-
Hi
An AuraDefinitionBundle component is a collection of component definition files, each representing a different resource such as markup code, event documentations, applications and interfaces.
Aura definition bundle contains following items:
Component: UI for lightning component
controller.js: Contains client-side controller methods to handle events in the component.
helper.js: JavaScript functions that can be called from any JavaScript code in a component’s bundle
style: Contains styles for the component.
design: File required for components used in Lightning App Builder, Lightning pages, or Community Builder.
renderer: Client-side renderer to override default rendering for a component.
documentation: A description, sample code, and one or multiple references to example components
SVG: Custom icon resource for components used in the Lightning App Builder or Community Builder.
Thanks
-
hi,
A bundle contains a Lightning definition and all its related resources. The definition can be 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.
thanks
Log In to reply.