Learn how to setup set up CICD delta deployment with Salesforce DX. Tips and tricks for authorisation , setting up node and the basic git commands. I’m revamping our CICD process with Salesforce DX and Bitbucket Pipeline with the following initial setup which will only allow delta deployments. Authentication method – authorize an org and… Read More How To Set Up CICD On Bitbucket Pipelines With Salesforce DX And Delta Deployment
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”