Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <!-- 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/ --> |
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua & Deps | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
| <types> | |
| <members>*</members> | |
| <name>ApexClass</name> | |
| </types> | |
| <types> | |
| <members>*</members> | |
| <name>ApexComponent</name> | |
| </types> |
| public with sharing class InvocableApexTemplate { | |
| @InvocableMethod( | |
| label = 'Name as displayed in Process Builder' | |
| description = 'Tooltip as displayed in Process Builder' | |
| ) | |
| public static List<Response> execute( List<Request> requests ) { | |
| List<Response> responses = new List<Response>(); | |
| <apex:page standardController="Account"> | |
| <!-- classic attachments related list --> | |
| <apex:relatedList subject="{!account.id}" list="CombinedAttachments" /> | |
| <!-- new salesforce files related list --> | |
| <apex:relatedList subject="{!account.id}" list="AttachedContentDocuments" /> | |
| </apex:page> |
| public class UpdateFieldAction { | |
| @InvocableMethod( | |
| label='Update Field Action' | |
| description = 'Update a field on another object' | |
| ) | |
| public static void updateFields(List<Request> requests) { | |
| for(Request request : requests){ | |
| updateField(request); |
| function findValues(obj, key){ | |
| return findValuesHelper(obj, key, []); | |
| } | |
| function findValuesHelper(obj, key, list) { | |
| if (!obj) return list; | |
| if (obj instanceof Array) { | |
| for (var i in obj) { | |
| list = list.concat(findValuesHelper(obj[i], key, [])); | |
| } |
| /** | |
| * Assigns a permission set or permission set group to all user with the specified profile. | |
| * Additional filter criteria can be passed in if the users needs filtered further. | |
| * Example: Only assign permission set to community users on the Salesforce account | |
| * String filter = 'Contact.Account.Name = \'Salesforce\''; | |
| * BatchGrantPermissionSet('Community User Profile', 'Salesforce_Account_Privs', filter); | |
| */ | |
| public class BatchGrantPermissionSet implements Database.Batchable<sObject> { | |
| String query {get; set;} |