+ Start a Discussion
Amarjeet ChawlaAmarjeet Chawla 

Lightning components and files in package.xml

I'm trying to pull the lightning components into my IDE, but can't figure out the way to include them in package.xml... would anyone know? ... The Dev guide only talks about packaging as a package, I couldn't find mention of lightning components in migration tool etc to give some lead on my problem... 
Best Answer chosen by Amarjeet Chawla
Ken KoellnerKen Koellner
I don't know if the IDE supports Lightning or Release 32.0 yet.  It usually lags about a release behind the rest of the platform. 

But I did get a retrieve to work with the ant tool.  See the answer post in this thread--

https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Lightning&criteria=OPENQUESTIONS&id=906F0000000AoXfIAK (https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Lightning&criteria=OPENQUESTIONS&id=906F0000000AoXfIAK)
 

All Answers

siddarth rajsiddarth raj
Sorry Its just guess from my limited knowledge on lightning components...
Try including namespace or package
Mark SFMark SF
Search for package.xml in https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_auradefinitionbundle.htm

I hope that helps.

-Mark
Ken KoellnerKen Koellner
I don't know if the IDE supports Lightning or Release 32.0 yet.  It usually lags about a release behind the rest of the platform. 

But I did get a retrieve to work with the ant tool.  See the answer post in this thread--

https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Lightning&criteria=OPENQUESTIONS&id=906F0000000AoXfIAK (https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Lightning&criteria=OPENQUESTIONS&id=906F0000000AoXfIAK)
 
This was selected as the best answer
Ken KoellnerKen Koellner
I got the IDE to work also.  I didn't see "aura" or "lightning" in the meta data selector.  So I manually edited the package.xml file in the project.  I made two changes -- version changed from 31.0 to 32.0.  added types to get * for AuraDefinitionBundle.

 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomObject</name>
    </types>
    <types>
         <members>*</members>
	     <name>AuraDefinitionBundle</name>
    </types>
    <version>32.0</version>
</Package>