smriti sharan
  • Member for 2 years, 7 months
  • Last seen more than a month ago
How can I map between a permission name in the API and the label shown in the UI?
0 votes

Step by step process to map between permission name and label https://www.sfdcamplified.com/2021/09/challenge-map-between-salesforce-permissionname-and-label.html

View answer
Map behaviour populating with List
0 votes

Wrong Solution: Deep Cloning of Map I tried deep cloning of map but I still see same records in both map. This is not the correct solution to do deep cloning of map. // Query for a List of Accounts ...

View answer
Need to Combine value sets from two maps to create a third Map
0 votes

Hi something like this might work: //iterate over the keys of ChatterGroupIDMap for (String name : ChatterGroupIDMap.keySet()) { //check if GName2AccountIdMap contains key if (GName2AccountIdMap....

View answer
Map Collection Add with List of contact in Value
0 votes

here is the explanation: Let's break your question into parts to have better understanding: 1- loop over the List of contact 2- accountId will be the index and add the collection to that index 3-check ...

View answer
to populate data in to Map<Id,Map<Id, List<Contact>>>
0 votes

Here is the code.. //Step1 : Fill the key with account id in this case Map<Id,Map<Id, List<Contact>>> awesomeAccMap = new Map<Id,Map<Id, List<Contact>>>(); //...

View answer
Getting object name using object ID
0 votes

GET OBJECT NAME FROM RECORD ID? String sObjName = myRecordId.getSObjectType().getDescribe().getName();

View answer
Apex Trigger giving "cannot specify Id in an insert call: [Id]" error
0 votes

You shouldn't be performing DML inside a loop, This exception comes if you try to insert already inserted record . Account a =new Account(); a.name='Hello'; insert a; insert a;

View answer
Permission set part of managed package are overwritten when we upgrade package
0 votes

Q. What happens to already existing permission set when we upgrade the manage package in our org? A. Permission sets are upgradeable. This means that, as long as your permission set is in your ...

View answer
Where do I find the Manage External User Button on the Contact Page Layout
0 votes

Manage External User Button is available on Contact object 1. Enable Communities 2. Check that Contact is associated to a contact 3. Button will added to page layout

View answer
Trigger on updating account field based on opp field
-1 votes

SUDO CODE TO UNDERSTAND LOGIC 1.Based on Opportunity_Order_Status__c on opportunity, make changes Opportunity_Order_Status__c on account A. trigger will be written on opportunity 2. Will it be before ...

View answer
How to set a Date in apex test class?
-2 votes

a.SLAExpirationDate__c = date.parse('4/17/2020'); You need to use date.parse to execute the code

View answer