Document Deployment Fails
See original GitHub issueSummary
Deploying Documents via the CLI fails with the message The DocumentFolder named Folder_Name/Document_Name was not found in the workspace.
Steps To Reproduce:
- Ensure a Document Folder named MyFolder exists in the source environment, with a Document named MyDocument.txt inside.
- Using the following package.xml, perform a force:source:retrieve
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<name>Document</name>
<members>MyFolder</members>
<members>MyFolder/MyDocument.txt</members>
</types>
<version>46.0</version>
</Package>
- Using the same manifest, attempt to deploy the Document and Folder.
Expected result
The Document and Folder were deployed.
Actual result
You receive the error message The DocumentFolder named MyFolder/MyDocument.txt was not found in the workspace.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): 7.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core): 46.6.0
OS and version: Windows 10 Pro
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (3 by maintainers)
Top Results From Across the Web
What to do if your IT deployment fails | Ricoh USA
And if your applications were built onsite, make sure your documentation is thorough enough to describe any in-house architectures that were used. There...
Read more >How to avoid the top 5 manual Deployment Failures by ...
Here are five common manual deployment failures and how they could have been avoided using automation tools like BuildMaster.
Read more >Application deployment problems - IBM
You might encounter problems when deploying, installing, or promoting applications. This topic suggests ways to resolve the problems.
Read more >Troubleshooting failed or hanging tasks - Octopus Deploy
A guide for troubleshooting tasks that fail unexpectedly or are unresponsive.
Read more >Deployment Error Messages - Micro Focus
The deployment program that deploys services to Enterprise Server writes its messages to a file called deploylog.txt. This file is stored on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you remove the file extension (.txt) it should work. Deploy does not take the file extension
is fixed.