How to fix ‘Bad value for restricted picklist field’ error

How to fix ‘Bad value for restricted picklist field’ error

Users or developers may receive the following error when they attempt to create or update a record in Salesforce: Error: Invalid Data. Review all error messages below to correct your data.‘Bad value for restricted picklist field: PicklistValue’ This error occurs when the picklist field referenced in the error message meets each of the following conditions:

How to merge Accounts in Salesforce

How to merge Accounts in Salesforce

Data quality is one of the most important things you have to watch to get the most out of Salesforce. This helps your sales team to obtain accurate customer data in accordance with various privacy and privacy rules. Salesforce gives you tools for managing duplicates one at a time and across your org, and to track your progress in eliminating duplicates. We will show how to merge Accounts in different interfaces and do not forget about a little Salesforce Hack at the end of the article.

How To Deploy The Project To Salesforce

How to deploy the project to salesforce

Problem: We in TrueSolv do not like Apache Ant because we need to configure it using xml. It looks out of date. The question is how to deploy the Salesforce project without Apache Ant? Solution: We can use Metadata API with sfdx.

Working with cookies from Lightning

Working with cookies from Lightning

I want to share with you several ready to use JS functions to working with cookies from Lightning, both Aura Component and Web Components. createCookie function gives an ability to create a cookie with a particular name, value, and time to live.

How To Share Code Between Aura And LWC

Aura Lightning Web Component

Now you can build Lightning components using two programming models: Lightning Web Components, and the original model, Aura Components. Most of the projects consist of Aura Components but more and more developers trying to use LWC for new components. Developers faced with the issue to use common functions in Aura and Lightning Web Components. The solution is pretty simple: