My particular use case is for Salesforce ant deployment. I wanted to replace some metadata before I deploy to the target org which will allow me to automate the process. I can fetch metadata from my sandbox org and when it gets deployed to the target org like production the values will be updated. You… Read More How To Replace Salesforce Metadata Before Deploying using Ant Scripts
If your deployment strategy still evolves around ant deployment and not the new Salesforce CLI and you encounter this error on your deployment. Failed to check the status for request ID=0Af0r00000ClbNgCAJ. Error: InfoNot a valid enumeration for type: class com.sforce.soap.metadata.DeployProblemType. Retrying… While digging around, I found out this is a tool issue. Chances are your… Read More How to Fix Salesforce Deployment Errors: InfoNot a valid enumeration for type
Go to Salesforce Classic UI and search under Setup for “Customer Portal” and Disable Login Enabled. You should move your portal to Communities where Platform Encryption is supported.
If you try to deploy the Admin profile and might get this error if you have Dev Hub enabled on your org. You need to edit the Admin profile and remove the following lines
There are some permissions that are not applicable to a scratch org and this is one of those weird ones. Pushing the standard Admin profile to my scratch org I encountered this error. You may not modify the permission Access Tracer for External Data Sources while editing a Standard Profile. To fix this you need… Read More How to Fix Salesforce Deployment Errors: source:push “You may not modify the permission Access Tracer for External Data Sources while editing a Standard Profile”
Want to learn how to install ant on mac? What is Apache Ant used for? The main known usage of Apache Ant is the build of Java applications. Ant supplies a number of built-in tasks allowing to compile, assemble, test and run Java applications. Ant can also be used effectively to build non Java applications, for… Read More How to Install Apache Ant on a Mac