SPRING 21 – LOOKUP TO OPPORTUNITY PRODUCT
Create a Opportunity Product Lookup Relationship with Other Object Many of us eagerly waiting to see some idea’s in to product feature’s in Salesforce. Now LOOKUP is available for Opportunity Product. Yes, Spring 21 release you can create a Opportunity Product
How to convert Set Id to Set String in Apex code?
Apex code is not supporting converting set to set direct way – we have to do workaround – Set<Id> ids = new Set<Id>{'001G0000023lIWq','a61G0000000TOSE'}; Set<String> idStrs = (Set<String>)JSON.deserialize(JSON.serialize(ids), Set<String>.class); System.debug('idStrings=' + idStrs);
How to delete Report or Dashboard from Private or Personal folder in salesforce?
Now Administrators can delete a private or a personal folder reports or Dashboard in either Workbench or Data Loader. Before administrators delete private reports and folders Follow the steps in Turn On Enhanced Sharing for Reports and Dashboards.Export Report IDs to a CSV file which
Salesforce SOQL is not SQL
Explore The Differences And Learn How SOQL Works in Salesforce Salesforce SOQL query is not working same way as SQL server Data Base query. why? Salesforce using Multitenant Architecture – Many organization using single instance including data base but each org will
Apex Code – Static Factory for Record Type
Use below apex class to avoid duplicate in your org to pull record type, Profile, User, Environment, Sandbox name, Group Name, Queue Name related information. This is very helpful to me – I was using separate apex class for each area
How to validate String as Salesforce Record Id using InstanceOf keyword?
Validate String as Salesforce Record Id Using InstanceOf Keyword I had scenario where store multiple user in custom settings with “;” separator. Used that custom settings to skip the trigger for few scenario like data load, running batch job… Some time
Enable List Custom Settings in Org after Spring 18
How to Make Use of List Custom Setting with Salesforce in Spiring 18 From Salesforce Spring 18 release – list custom settings option is grayed out. The list type provides a reusable set of static data that you can access across your
Find Sandbox Name from Your Sandbox Org
Learn How to Find Sandbox Name From Sandbox Org in Salesforce Many of having trouble to find sandbox name from your Sandbox org. There is no direct way to get it but we have workaround. Please follow below steps Create list custom
Use Salesforce Custom Permission. Don’t use Profile/User id to skip validation rule.
Salesforce Custom Permission to User to Access Custom Process Use salesforce custom permission to user to access custom process or apps. Many use case – validation rule should not executed for admin profile or specific user. Right now admin/developer hard coding profile/user
How to retrieve & deploy new profile from one org to another org?
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