You need to sign in to do that
Don't have an account?
![MoTown MoTown](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Deploying Nested Folders with And and the Meta Data API
I am using Ant and the MetaData API to retireve reports from a sandbox and then deploy them to another org. LIghning now supports nested folders for reports and dashboards, Ant can retireve them and they are created in a hierarchical folder structure as you would expect. However, I am finding that I cannot deploy them to another environment. I get this error:
-- Error: An object [...] of type Report was named in package.xml, but was not found in zipped directory
The file is there though.
Anyone else experiencing this and know of a work around. I want to deploy the reports in nested folders, there would be far too many for me to move after the deployment and there is no way to move multiple reports or entire folders into another folder.
Thanks!
-- Error: An object [...] of type Report was named in package.xml, but was not found in zipped directory
The file is there though.
Anyone else experiencing this and know of a work around. I want to deploy the reports in nested folders, there would be far too many for me to move after the deployment and there is no way to move multiple reports or entire folders into another folder.
Thanks!
Although in the package.xml to extract the reports, you do not need to specify the full folder path to each report:
In the package.xml of the deployment file, each report's location must be fully qualified which makese sense otherwise the system would not really understand how the hireachy is structured. It would be better if the above snippet simply errored out. By fully qualifying the location of all of the reports and folders, I was able to use the same Package.xml file for the retireval and deployment.