-
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
force:source:retrieve Reports contained within a 2+ folder hierarchy cannot be retrieved #1173
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
do you have a repo that has nested report folders in it? you left the link to dreamhouse but it has no reports. https://github.com/trailheadapps/dreamhouse-lwc/tree/main/force-app/main/default does |
the repo is private, my mistake for not erasing the default link in the issue template. and yes I have many reports contained in several folders in my orgs. |
sfdx --version To reproduce for dashboards:
package.xml
In VSCode, Retrieve source from package Expected result:
Actual result:
|
Then, even better - try something a little different... sfdx --version To reproduce for dashboards:
package.xml
In VSCode, Retrieve source from package Expected result:
Actual result:
|
This is currently being fixed and should be in the next CLI release candidate. It's tracked internally with W-9739746. It applies to all metadata types classified as "in folder". Reports, dashboards, email templates, and documents. |
This was fixed in latest v7.120.0, release notes: |
Summary
If a Report is contained in a 2+ folder hierarchy the result of the command force:source:retrieve is:
Steps To Reproduce:
Example:
sfdx force:source:retrieve --manifest ./manifest/my-package.xml --apiversion 52.0
Expected result
Get the report within its folder structure
Actual result
Get nothing
System Information
Additional information
If the same package.xml is used with force:mdapi:retrive, the output actually contains the target report
Example:
sfdx force:mdapi:retrieve --apiversion 52.0 -k ./manifest/custom-package.xml --loglevel debug -r test
The text was updated successfully, but these errors were encountered: