Deployment · IDE/Tool · Salesforce

Use Visual Studio Code for Salesforce Development(IDE)

This extension is a companion for SFDC (Salesforce.com) development with Visual Studio Code.It is targeted at developers who want a lightweight and fast way to work with their Salesforce files.There's no complicated setup process or project configurations, no external apps to keep open, and no jarring errors knocking you out of your flow. Install VSCode… Continue reading Use Visual Studio Code for Salesforce Development(IDE)

Deployment · Salesforce

How to retrieve & deploy new profile from one org to another org?

When you create custom profile in your development org - you may assigned lot of permission. When you try to deploy through Force.com Migration tool you need to make sure below permission are retrieved from source org. Standard Object - This will include Object & Field Level, Record Type Visibility, Tab Visibility permissions. Custom Object… Continue reading How to retrieve & deploy new profile from one org to another org?

Deployment · Salesforce

Force.com package xml

Custom Object: <types> <members>*</members> // * will return all object and custom settings <name>CustomObject</name> </types> Custom Field: <types> <members>Account.AccountSource</members> // Should specify object field names. <name>CustomField</name> </types> Apex Class: <types> <members>*</members> <name>ApexClass</name> </types> Apex Component: <types> <members>*</members> <name>ApexComponent</name> </types> Apex Page: <types> <members>*</members> <name>ApexPage</name> </types> Apex Trigger: <types> <members>*</members> <name>ApexTrigger</name> </types> Page Layout: <types> <members>*</members>… Continue reading Force.com package xml

Deployment · Salesforce

Retrive Profile/PermissionSet with object and field permission?

Profile Deployment - Right now small organization using ANT or Force.IDE tool for deployment. Many of them having issue to Objects and Fields level profile/PermissionSet permissions. Current Problem: When you pull profile alone using ANT or Force.com IDE tool - you will be getting only User Level permissions not Object and Field level permission. Many… Continue reading Retrive Profile/PermissionSet with object and field permission?

Adminstrator · Deployment · Salesforce

How to deploy Record Type Custom Picklist Field Value to another org?

When you deploy record type from one org to another org(sandbox to sandbox OR sandbox to production) - we may see record type picklist field values are not migrated through deployment. Sandbox Picklist Value: (Value assigned manually by developer) After deployed to PROD: Used ANT Script for deployment : <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata">   … Continue reading How to deploy Record Type Custom Picklist Field Value to another org?

Deployment · Salesforce

How to retrieve Process Builders and Flows using ANT Tool?

Please use below XML tag in package.xml <types>         <members>ProcessBuilderName-versionnumber</members>         <members>FlowName-VersionNumber</members>         <name>Flow</name>  </types>   How to find version number in process builder : Go to Process Builder -> Select right process builder --> Click "View Properties" -> Now you will see API Name and Version. Note: Please verify you have selected active process… Continue reading How to retrieve Process Builders and Flows using ANT Tool?