This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<messaging:emailTemplate subject="vol jobs w shifts" recipientType="Contact" relatedToType="GW_Volunteers__Volunteer_Job__c"> | |
<messaging:HTMLEmailBody> | |
Dear {!recipient.FirstName}, | |
Here is a list of shifts | |
<apex:repeat value="{!relatedTo.GW_Volunteers__Volunteer_Hours__r}" var="vh"> | |
<tr> | |
<th>Job</th> | |
<th>Start Date</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CurrencyUpdater { | |
list <CurrencyType> ctl = new list<CurrencyType>([SELECT Id,IsoCode,ConversionRate FROM CurrencyType WHERE IsActive = TRUE AND IsCorporate = FALSE]); | |
map <string, CurrencyType> ctMap = new map<String, CurrencyType>(); | |
public CurrencyUpdater () { | |
for (CurrencyType ct : ctl){ | |
ctMap.put(ct.IsoCode,ct); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Flow_FindDupes { | |
//https://developer.salesforce.com/forums/?id=906F0000000AzDeIAK | |
@InvocableMethod(label='Get Dupes' description='Returns something') | |
public static List<Contact> getDuplicateContacts(List<Contact> contacts) { | |
system.debug('contacts size = ' + contacts.size()); | |
list<sObject> dasContacts = new list<sobject>(); | |
dasContacts.addall((List<sObject>)(contacts)); | |
list<Contact> duplicateContacts = new list<Contact>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes"> | |
<forceChatter:publisher context="RECORD" recordId="0F94F0000008QLySAM" /> | |
<forceChatter:feed type="Record" subjectId="0F94F0000008QLySAM" feedDesign="DEFAULT"/> | |
</aura:component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compromised User / Davice SOP | |
Freeze user | |
Notify techsupport (to freeze active directory account) | |
Revoke activations (setup - security controls - activations). note that both login IPs and activated browsers need to be revoked. | |
Revoke all oAuth connections (user detail - oAuth connected apps) | |
Revoke Third Party Account Links (ensures they need to reauthorize for SSO) | |
Review login history for any anomalies | |
If there are no anomalies | |
Add two factor authentication to user profile (permission set - system : two factor authentication required) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Sample API", | |
"description": "API description in Markdown.", | |
"version": "1.0.0" | |
}, | |
"paths": { | |
"/": { | |
"post": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// must be plain text, not rich text. | |
// ff user id is formula field to pull $user.Id, you can pass any id | |
{"id" : "{!ffUserID}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Sample API", | |
"description": "API description in Markdown.", | |
"version": "1.0.0" | |
}, | |
"paths": { | |
"/": { | |
"post": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"id": 922048, | |
"meta_description": "Assign teammates to partnership teams and enable them with edit access.", | |
"meta_title": null, | |
"meta_search": "opportunities, partnerships, teams, edit access, ", | |
"title": "Adding Opportunity Teams", | |
"links": { | |
"published_url": "https://ashoka.screenstepslive.com/s/salesforcehelp/m/50882/l/922048-adding-opportunity-teams", |
OlderNewer