You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting an error - ERROR running force:source:retrieve: We can’t retrieve the specified metadata object: ManagedContentType. Certain metadata types, like ManagedContentType are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
This is step 1.
This is step 2. All steps should start with '1.'
Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version:
The text was updated successfully, but these errors were encountered:
This is a duplicate of #418
ManagedContentTypes can be retrieved by the Metadata API, but not in source format.
So you can't use sfdx force:source:retrieve, but sfdx force:mdapi:retrieve will work.
You won't be able to use it directly in a sfdx project though as source format isn't working for this metadata type, but you can still deploy it separately with sfdx force:mdapi:deploy.
@FabienTaillon As I am trying to get full sandbox copy on my local machine so will that command sfdx force:mdapi:retrieve what I have inside pacakge.xml from sandbox? How can I make sure it copies everything?
Summary
getting an error - ERROR running force:source:retrieve: We can’t retrieve the specified metadata object: ManagedContentType. Certain metadata types, like ManagedContentType are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
OS and version:
The text was updated successfully, but these errors were encountered: