Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <!-- | |
| @description : | |
| @author : ChangeMeIn@UserSettingsUnder.SFDoc | |
| @group : | |
| @last modified on : 06-24-2021 | |
| @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc | |
| Modifications Log | |
| Ver Date Author Modification | |
| 1.0 06-10-2021 ChangeMeIn@UserSettingsUnder.SFDoc Initial Version | |
| --> |
| private static void saveSobjectSet(List <Sobject> listToUpdate) { | |
| Integer SFDC_CHUNK_LIMIT = 10; | |
| // Developed this part due to System.TypeException: Cannot have more than 10 chunks in a single operation | |
| Map<String, List<Sobject>> sortedMapPerObjectType = new Map<String, List<Sobject>>(); | |
| Map<String, Integer> numberOf200ChunkPerObject = new Map<String, Integer>(); | |
| for (Sobject obj : listToUpdate) { | |
| String objTypeREAL = String.valueOf(obj.getSObjectType()); | |
| if (! numberOf200ChunkPerObject.containsKey(objTypeREAL)){ |
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua & Deps | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
| <!-- TODO: Review Ant v1.8 local properties --> | |
| <project xmlns:sf="antlib:com.salesforce"> | |
| <!-- Download from Salesforce Tools page under Setup --> | |
| <typedef | |
| uri="antlib:com.salesforce" | |
| resource="com/salesforce/antlib.xml" | |
| classpath="${basedir}/lib/ant-salesforce.jar"/> | |
| <!-- Download from http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ --> |
| global without sharing class SandboxPostCopyUpd implements SandboxPostCopy { | |
| global void runApexClass(SandboxContext context) { | |
| LIst<Contact> ConList = [SELECT ID FROM CONTACT]; | |
| for (Contact con : ConList) { | |
| con.Email = 'dummy@example.com'; | |
| } | |
| update ConList; | |
| } | |
| } |
| string LibraryName='Demo Download Library'; | |
| ContentWorkspace ws = [SELECT Id, RootContentFolderId FROM ContentWorkspace WHERE Name = :LibraryName LIMIT 1]; | |
| Set<string> fileNameList = new Set<string>(); | |
| List<ContentDocumentLink> filesToDelete= new List<ContentDocumentLink>(); | |
| string csvString=''; | |
| String domainUrl=URL.getSalesforceBaseUrl().toExternalForm(); | |
| for(ContentDocumentLink con:[select id,LinkedEntityId,ContentDocumentId ,ContentDocument.LatestPublishedVersion.Title from ContentDocumentLink where LinkedEntityId=:ws.Id]){ | |
| csvString = csvString +domainUrl+'/sfc/servlet.shepherd/version/download/'+con.ContentDocument.LatestPublishedVersionId+'\n'; | |
| } |
| { | |
| "orgName": "Salesforce - Dev Org", | |
| "edition": "Developer", | |
| "features": [ | |
| "Pardot" | |
| ], | |
| "settings": { | |
| "pardotSettings": { | |
| "enablePardotEnabled": true, | |
| "enablePardotAppV1Enabled": true, |
| // example of how to configure SecuritySettings in your scratch org. | |
| { | |
| "orgName": "Acme", | |
| "edition": "Enterprise", | |
| "features": [], | |
| "settings": { | |
| "mobileSettings": { | |
| "enableS1EncryptedStoragePref2": true | |
| }, | |
| "securitySettings": { |
| // Method to perform callouts | |
| public String MakeCallout(string description, string keyToVerify){ | |
| // define a response to caller | |
| String outcomeMsg; | |
| // define basic information for later, store these in a protected custom setting | |
| string endpoint = 'http://api.yourendpoint.com/'; // be sure this is configured in "Remote Site Settings" | |
| string resource = 'products/'; | |
| string username = 'api_user'; |