This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<fullName>AllCMDTs</fullName> | |
<types> | |
<members>*</members> | |
<name>CustomMetadata</name> | |
</types> | |
<version>40.0</version> | |
</Package> |
This file contains hidden or 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
#!/usr/bin/env bash | |
echo 'Installing Package 1: Contacts & Organizations...' | |
sfdx force:package:install -i 04t80000000gYcf -w 100 | |
if [ "$?" = "0" ]; then | |
echo 'Installation of Package 1 complete...' | |
else | |
echo 'Installation failed.' | |
exit 1 | |
fi |
This file contains hidden or 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
<apex:page showHeader="false" standardController="Account"> | |
<ul> | |
<apex:repeat value="{!Account.ContentDocumentLinks}" var="cdl"> | |
<li><a href="/sfc/servlet.shepherd/version/download/{!cdl.ContentDocument.LatestPublishedVersion}?asPdf=true">{!cdl.contentdocument.Title}</a></li> | |
</apex:repeat> | |
</ul> | |
</apex:page> |
This file contains hidden or 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
/*Already donated this year*/ | |
if(year(npo02__LastCloseDate__c)=year(today()),1+ | |
if(contains(Years_Donated__c,text(year(today())-1)),1+ | |
if(contains(Years_Donated__c,text(year(today())-2)),1+ | |
if(contains(Years_Donated__c,text(year(today())-3)),1+ | |
if(contains(Years_Donated__c,text(year(today())-4)),1+ | |
if(contains(Years_Donated__c,text(year(today())-5)),1+ | |
if(contains(Years_Donated__c,text(year(today())-6)),1+ | |
if(contains(Years_Donated__c,text(year(today())-7)),1+ | |
if(contains(Years_Donated__c,text(year(today())-8)),1+ |
This file contains hidden or 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
HYPERLINK( | |
/* If they're in Lightning */ | |
IF($User.UIThemeDisplayed="Theme4d", | |
/* Use Lightning syntax, optimized to avoid full page reload */ | |
"#/sObject/00OE0000003BLQi/view?fv0=", | |
/* Otherwise use Classic syntax */ | |
"/00OE0000003BLQi?pv0=") |
This file contains hidden or 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
HYPERLINK("/one/one.app#/sObject/00OR0000000PCHYMA4/view?fv0="&Id, | |
"This Account's Opportunities") |
This file contains hidden or 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
HYPERLINK("/00OE0000003BLQi?pv0="&Id,"This Account's Opportunities") |