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
git clone https://github.com/rahulmalhotra/lightning-container-boilerplate |
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
npm install -g create-react-app |
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
"landing-pages": [ | |
{ | |
"path": "index.html", | |
"apex-controller": "LightningContainerBoilerplate" | |
} | |
] |
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
Hello Trailblazers..!! |
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
try { | |
Http http = new Http(); | |
HttpRequest req1 = new HttpRequest(); | |
req1.setEndpoint('callout:GithubAPI/gists/66508cf3e51801c01994ce2cbf2e5dde/comments'); | |
req1.setMethod('POST'); | |
Map<String, String> bodyMap = new Map<String, String>(); | |
bodyMap.put('body', 'Welcome to India Dreamin Session Blog'); | |
req1.setBody(JSON.serialize(bodyMap)); | |
HttpResponse res; | |
res = http.send(req1); |
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
{ | |
"author": "Rahul Malhotra", | |
"blogs": [ | |
{ | |
"id": "1", | |
"title": "Salesforce Integration Tutorial Part1 - Introduction and Setting up Workbench", | |
"url": "https://www.sfdcstop.com/2019/11/salesforce-integration-tutorial-part-1.html" | |
}, | |
{ | |
"id": "2", |
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 TokenResponseWrapper { | |
public String access_token; | |
public String instance_url; | |
public String id; | |
public String token_type; | |
public String issued_at; | |
public String signature; | |
} | |
HTTPRequest tokenRequest = new HTTPRequest(); |
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 TokenResponseWrapper { | |
public String access_token; | |
public String instance_url; | |
public String id; | |
public String token_type; | |
public String issued_at; | |
public String signature; | |
} | |
HttpCalloutService service = new HTTPCalloutService('PlayfulBearOrg'); |
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
HttpCalloutService service1 = new HTTPCalloutService('PlayfulBearQueryAPIWithNamedCredentials'); | |
String url = service1.getEndpointURL() + 'SELECT+id,name+from+contact'; | |
service1.setEndpointURL(url); | |
System.debug(service1.sendRequest().getBody()); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | |
<wsdl:types> | |
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> | |
<s:element name="Add"> | |
<s:complexType> | |
<s:sequence> | |
<s:element minOccurs="1" maxOccurs="1" name="intA" type="s:int" /> | |
<s:element minOccurs="1" maxOccurs="1" name="intB" type="s:int" /> | |
</s:sequence> |