Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels are not retrieved #8

Open
Pingouin23 opened this issue Feb 22, 2018 · 1 comment
Open

Labels are not retrieved #8

Pingouin23 opened this issue Feb 22, 2018 · 1 comment

Comments

@Pingouin23
Copy link

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
Copy link
Contributor

sfdcale commented Oct 30, 2018

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants