benedwards44 / packagebuilder

Django + Heroku application for building a package.xml of your Salesforce Org
https://packagebuilder.herokuapp.com
MIT License
103 stars 81 forks source link

Labels are not retrieved #8

Open Pingouin23 opened 6 years ago

Pingouin23 commented 6 years ago

Hi, When calling this, the package.xml generated contains Labels under CustomLabel. When using this with ant retrieve no label is found. I believe the type name should be CustomLabels, so the labels folder can be filled. I'll stay available for any information required.

Thank you for your support. Best regards, Théo

sfdcale commented 5 years ago

@Pingouin23 ,

I am not able to reproduce this. I tried with my developer edition org, which has custom labels:

Below is the package.xml file generated using packagebuilder. Please note that I manually deleted other components from the generated package.xml file to keep it simple.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>Green</members>
    <members>U2G_2Table_PaginationFirstLinkLabel</members>
    <members>U2G_2Table_PaginationLastLinkLabel</members>
    <members>U2G_2Table_PaginationNextLinkLabel</members>
    <members>U2G_2Table_PaginationPageSizeLabel</members>
    <members>U2G_2Table_PaginationPreviousLinkLabel</members>
    <members>U2G_2Table_PaginationStatusline</members>
    <members>U2G_2Table_SettingsDefaultsButtonLabel</members>
    <members>U2G_2Table_SettingsDisplayedFieldsLabel</members>
    <members>U2G_2Table_SettingsSectionLabel</members>
    <members>U2G_2Table_SettingsSubmitButtonLabel</members>
    <name>CustomLabel</name>
  </types>
  <version>43.0</version>
</Package>

I used the above package.xml in Force migration tool and I was able to download custom labels without any error. Thanks!