-
Notifications
You must be signed in to change notification settings - Fork 78
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
sfdx force:source:convert for Custom Label in package.xml is not working #673
Comments
This is now fixed with CLI v7.76.1 and salesforcedx plugin v50.1.1 |
I closed this by mistake. This has not yet been fixed. |
I added a partial fix for custom labels in the current release candidate. Can you try installing that to see if it unblocks you? It's a partial fix because it converts/deploys all custom labels in the project versus just the labels defined in the manifest. Converting/deploying specific labels is coming soon. I will keep this open until that fix is in the release. |
Thank you @shetzel for the fix. Unfortunately, I am still not able to convert them. C:\Users\Desktop\customLabel>sfdx plugins --core C:\Users\Desktop\customLabel>sfdx force:source:convert -x ./manifest/package.xml -d ./metadataPackage But Using this below command worked C:\Users\Desktop\customLabel>sfdx force:source:convert -m CustomLabel -d convertedLabel Thanks. |
@saicharanreddyk - what is the content of your manifest? Is the path correct? |
@shetzel
Project folder CustomLabels I am not sure what has changed but it started working now. I haven't changed any structure / package.xml / command to execute. All remain the same. |
This issue has been linked to a new work item: W-9299072 |
Summary
I am trying to convert source format metadata to mdapi format and using the below command and getting the error.
sfdx force:source:convert -x ./manifest/package.xml -d ./metadataPackage
Steps To Reproduce:
package.xml
Command used to convert:
sfdx force:source:convert -x ./manifest/package.xml -d ./metadataPackage
Expected result
The custom Label should be converted to mdapi format and we should see a folder name with metadataPackage inside the project folder
Actual result
Getting an error stating ERROR running force:source:convert: The package root directory is empty.
Additional information
SFDX CLI Version
sfdx-cli/7.75.1-5585088c75 win32-x64 node-v12.18.3
SFDX plugin Version
OS and version:
Microsoft Windows 10 Enterprise
The text was updated successfully, but these errors were encountered: