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
<!--COMPONENT--> | |
<aura:component implements="lightning:availableForFlowScreens"> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}"></aura:handler> | |
</aura:component> | |
<!--CONTROLLER--> | |
({ | |
doInit : function(component, event, helper) { | |
$A.get('e.force:refreshView').fire(); | |
} |
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
=== Commands | |
force:alias:list # list username aliases for the Salesforce CLI | |
force:alias:set # set username aliases for the Salesforce CLI | |
force:apex:class:create # create an Apex class | |
force:apex:execute # execute anonymous Apex code | |
force:apex:log:get # fetch a debug log | |
force:apex:log:list # list debug logs | |
force:apex:log:tail # start debug logging and display logs | |
force:apex:test:report # display test results | |
force:apex:test:run # invoke Apex tests |
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="New Lead Assigned" recipientType="User" relatedToType="Lead"> | |
<messaging:htmlEmailBody > | |
<body style="font-family: 'Trebuchet MS'"> | |
<h2> | |
New Lead Assigned</h2> | |
<hr style="border: solid thin #0099CC; margin-top: -18px;" /> | |
<br /> | |
<table cellpadding="5" style="border-collapse: collapse" width="100%"> | |
<tr> | |
<td align="right" |
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
<apex:page standardController="Opportunity" extensions="OpptyGenPDFExtension" renderAs="pdf"> | |
<table width="100%" style="font-family: Arial, Helvetica, sans-serif; border-collapse: collapse;" | |
cellpadding="5"> | |
<tr> | |
<td colspan="4"> | |
Opportunity | |
</td> | |
</tr> | |
<tr> | |
<td colspan="4" style="font-size: x-large; font-weight: bold"> |
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
global class SMSUtility{ | |
webService | |
static String sendSMS(String csvMobileNos, String message){ | |
if(!String.isBlank(csvMobileNos)){ | |
HttpRequest httpReq = new HttpRequest(); | |
HttpResponse httpRes = new HttpResponse(); | |
Http httpStub = new Http(); | |
String requestEndpoint = | |
'http://clients.smshorizon.in/API/WebSMS/Http/v1.0a/index.php?' + |