New answers tagged

0

You can use a package.xml file to deploy it via workbench or VS Code. A sample xml file for retrieving the account list view is:- <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Account.AccountTeam</members> <name>ListView</name> ...


-1

You need to enable the path settings in package.xml if you haven't. if deploy fails, use standard values for picklist instead of custom ones


2

If you use Intellij with Illuminated Cloud plugin you can 'select all' and it will create the package.xml for you. You can then use that package.xml in a different editor, such as Visual Studio Code if you so desire. Once you have set up your connection (there's plenty of information online on how to do that), right click on src - Illuminated Cloud - ...


0

The Metadata API will NOT return all the Object Names and Field Names. Instead, it provides a specific "view" of Custom Objects and Fields that are relevant to Metadata connections. Salesforce calls these "channels." You need to use the SOAP Describe API to globally list all of the objects, and then Describe all of the fields. This will provide what you are ...


3

The idea of "all" the metadata is tough to define. The Metadata API does not capture some settings. Check the coverage report. Secondly, there are serious limits to Metadata Retrieve both in number of objects and overall size. In general Metadata for large Orgs must be brought down in sections and recombined, and this is really challenging for entangled ...


1

It's on the ContentDocumentLink under Visibility as shown here Visibility can have the following values. AllUsers—The file is available to all users who have permission to see the file. InternalUsers—The file is available only to internal users who have permission to see the file. SharedUsers—The file is available to all users who can ...


1

First, I looked around for a tool that could automate this and then I started looking at search and replace functionality in dedicated XML editors. It looked like Oxygen could probably do the job but it was cost prohibitive for me. What I ended up doing was writing a regular expression and then using search and replace w/regex in Textmate (after trying a few ...


0

Just use quick action in pakcage it will retrieve the quickActionLayoutItems you can customize the fields. <types> <members>NewTask</members> <name>QuickAction</name> </types> <version>36.0</version>


0

I ended up doing this a different way, mainly because of the time required to create an unmanaged package with thousands of items. First, I used the packagebuilder tool on Heroku to get the package.xml for my entire org. Second, I downloaded all of the metadata using the following Salesforce DX command with the manifest I generated: sfdx force:mdapi:...


Top 50 recent answers are included