sunilkhuwal
sunilkhuwal
Untitled
18 posts
Don't wanna be here? Send us removal request.
sunilkhuwal · 5 months ago
Text
Platform Developer I Certification Maintenance Winter 25
For the Platform Developer I Certification Maintenance (Winter ’25), you have a requirement to use the iterables Here we are requested to Create a Class named “MyIterable” and we also need to create a Test class “MyIterableTest” As part of the “MyIterable” class we need to do following things: Create a Constructor that is accepting the List<String> type of data Create a method that has return…
0 notes
sunilkhuwal · 11 months ago
Text
How to call Future methods from Batch?
Yes you heard it/seen it right, we cannot make call to the future methods directly from the batch, if you do then, the batch will fail with error that you cannot make call to the future methods from Batch. 00:03:41:690 EXCEPTION_THROWN [41]|System.AsyncException: Future method cannot be called from a future or batch method:…
Tumblr media
View On WordPress
0 notes
sunilkhuwal · 11 months ago
Text
How to resolve Salesforce ActivityHistory Query Issue?
We have sometimes need to get the data from Activity History that is lined up on each object detail page which can be used to track the Email, Appointment, meetings or phone calls. Now Salesforce doesn’t allow this direct quering of this object for any matter of reason, could be data bulk size that can hit as this is a general purpose object available in almost all standard or custom objects in…
Tumblr media
View On WordPress
0 notes
sunilkhuwal · 11 months ago
Text
How to find users with a Specific User License in Salesforce?
Although we can find the number of licenses available and consumed in the Company Information section of the Settings in Salesforce. But some time we need to toggle between the users to provide user license to new users and remove the existing ones in that case the below kind of solution works to quickly find who has got what. Here is one quick note on how to find the user licenses that are…
0 notes
sunilkhuwal · 1 year ago
Text
Fixing issues while Authorising Salesforce org with vscode
We get to a new project and first thing we need to do is to get the access to the resources and setup the development environment. In this Post, I am going to explain what all things need to be setup before we start working on the Salesforce org. Install the VSCode, this can be downloaded from the official website and then you can install it Link Install the required Extensions. Here you need…
Tumblr media
View On WordPress
0 notes
sunilkhuwal · 1 year ago
Text
Interview Questions: External Objects
Interviewer: What is the use of External Objects Interviewee: When we need to show the data from the external sources without pulling the data actually into the salesforce org and just replication of the data on demand that’s when we can use the External objects. Interviewer: What is the pros and cons of Using External Objects Interviewee: Pros: 1. We can replicate the data securely from the…
View On WordPress
0 notes
sunilkhuwal · 1 year ago
Text
Salesforce – Winter 24
For the Platform Developer I Certification Maintenance (Winter ’24), you have a requirement to bind the variables. Here we have the sample code that need to be modified inside of the method getContactIDWithBinds public class QueryContact { public static Id getContactID(String lastName, String title) { try { Contact myContact = Database.query( 'SELECT ID FROM Contact WHERE lastName = :lastName…
View On WordPress
0 notes
sunilkhuwal · 1 year ago
Text
How to Query the Parent to Child Relationships with 5 levels downwards in SOQL Queries?
With the latest update, SOQL has the capability to perform relationship queries that traverse up to five levels of parent-child records. This means that you can retrieve parent-child records from five different levels using just one SOQL query. This modification is relevant to both Lightning Experience and Salesforce Classic in the Enterprise, Performance, Unlimited, and Developer…
View On WordPress
0 notes
sunilkhuwal · 1 year ago
Text
How to enable the output Salesforce Connector in Analytics Studio?
Go to Settings -> search for Analytics -> click on settings under the Analytics section. Then click on the checkbox “Enable Salesforce Output Connection” and click on save button Now go back to the connections Click on the New Connection -> Select the connector type as Output Enter Details under the form Connection Name: “Salesforce Internal Connection” Your connection name which you want to…
Tumblr media
View On WordPress
0 notes
sunilkhuwal · 1 year ago
Text
How to check the ip address of the salesforce org?
You must have seen a situation in the salesforce ecosystem where you need to integrate with the external application and that system has security concern over who can access their application publically even though they are authenticated, so in that case they would ask for the IP(Internet Protocol) Address. 1. Salesforce Trust Center: This is the most official and reliable way to obtain your…
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
SFDX commands (continued..)
Creating a salesforce project sfdx force:project:create --projectname "projectName" --manifest Setting the api version sfdx config:set apiVersion=55.0 Authenticating the sandbox/developer org. #For Sandbox orgs: sfdx force:auth:web:login -a "sandboxName" -r https://test.salesforce.com #For dev/Production/scratch orgs: sfdx force:auth:web:login -a "sandboxName" -r…
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
What is the difference between Role and Profiles?
Overview We see a lot usually in our day to day that we get a question from a client along the lines of, “Can you set person X’s role to System Administrator so they can see everything?” Not only does that sentence not make sense (roles and profiles are different), it underscores how confusing Salesforce administration can be for non-technical users. Let’s start with some basic…
Tumblr media
View On WordPress
1 note · View note
sunilkhuwal · 2 years ago
Text
How to generate a random password?
Everyone has faced this problem in their IT carrier to identify what password they want to generate that is random. This is one small piece of code I have written which is customizable and serves the following purpose of the requirement. Length of the password What characters we want to include in the password generated. Here you go with the piece of code snippet that can help which has used…
Tumblr media
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
How to get the language text written in unicode?
We have scenarios where in salesforce, we need to do the translations and we know we can put the translation in various part of the org like: Custom labels picklist workbench etc Now lets say we have a property file containing the unicode from a legacy system which has the this data that we want to update in the our relevant places then we can do away with a small peace of syntax that can…
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
Salesforce Integration Patterns and Practices
integration_patterns_and_practicesDownload Salesforce is the owner of this document, this document is for reading and applying own logic. Author is not the owner of this document and doesn’t
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
Top Salesforce Developer Interview Questions
Here is a list of some Top questions for the Developer interview in Salesforce: What is Sandbox and the Type of Sandbox in Salesforce? What is Cloud Computing? What is Iaas? What is PaaS? What is Saas? Type of Object Relationship in Salesforce? What is Junction Object in Salesforce? What is the difference between Role and Profiles? How many way we have in Salesforce for Sharing? What…
View On WordPress
0 notes
sunilkhuwal · 2 years ago
Text
How to use custom label with dynamic value?
We have many situations where a string message that we are displaying to the user may have the dynamic value that we want to hold dynamically at the run time. This can be easily handled in the Salesforce using the custom label which can not only hold the string but also addresses the dynamic values that you want to capture. //Custom label used here Test_DynamicLabel which consist of text…
View On WordPress
0 notes