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
{ | |
"orgName": "B2B Company", | |
"edition": "Developer", | |
"features": [ | |
"Communities", | |
"B2BCommerce", | |
"OrderManagement", | |
"OrderSaveLogicEnabled", | |
"SalesforcePaymentsFeature", | |
"DebugApex", |
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 standardcontroller="Lead" docType="html-5.0" title="Bulk Lead Processor"> | |
<apex:includeScript value="{!URLFOR($Resource.JSForce,'jsforce.js')}" /> | |
<style> | |
/* This is for the full screen DIV */ | |
.popupBackground { | |
/* Background color */ | |
background-color: black; | |
opacity: 0.20; | |
filter: alpha(opacity=20); |
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
global class PhotoSyncHandler { | |
/* | |
//Sync the user's picture | |
String pictureUrl = null; | |
if (data.provider == 'Facebook') { | |
pictureUrl = 'https://graph.facebook.com/' + data.identifier + '/picture?type=large'; | |
} else if (data.provider == 'LinkedIn'){ | |
pictureUrl = data.attributeMap.get('picture-url'); |
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
// if you want to use it inside a visualforce page create a function around it | |
//function showFollowUp() { | |
// if you want to use it in a button make sure you require jQuery | |
// {!REQUIRESCRIPT("https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js")} // UNCOMMENT IF IN A BUTTON | |
{!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} | |
{!REQUIRESCRIPT("/soap/ajax/29.0/apex.js")} | |
// get the dialog with your dialog name | |
var d = sfdcPage.dialogs['MyCoolDialog'], close; | |
if (!d) { |
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
/** | |
@Author <Author Name> | |
@name @@NAME@@ | |
@CreateDate <dd/mm/yyyy> | |
@Description <purpose of the class> | |
@Version <1.0> | |
@reference <Referenced program names> | |
*/ | |
public with sharing class @@NAME@@ { | |
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
/** | |
@Author <Author Name> | |
@name @@NAME@@ | |
@CreateDate <dd/mm/yyyy> | |
@Description <purpose of the class> | |
@Version <1.0> | |
@reference <Referenced program names> | |
*/ | |
public with sharing class @@NAME@@ { | |
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
/** | |
@Author <Author Name> | |
@name @@NAME@@ | |
@CreateDate <dd/mm/yyyy> | |
@Description <purpose of the class> | |
@Version <1.0> | |
@reference <Referenced program names> | |
*/ | |
public with sharing class @@NAME@@ { | |
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 standardController="SObject" recordSetVar="sObjects" tabStyle="Custom__tab/SObject" extensions="@@NAME@@" | |
id="__Page" title="@@NAME@@"> | |
<!-- | |
Describe what this page is for. | |
--> | |
<apex:form> | |
<apex:pageMessages /> | |
<apex:pageBlock title="Feature" mode="edit" id="thePageBlock"> | |
<apex:pageBlockButtons> | |
<apex:commandButton action="{!save}" value="Save" /> |
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 standardController="SObject" tabStyle="Custom__tab/SObject" id="__Page" title="@@NAME@@"> | |
<!-- | |
Describe what this page is for. | |
--> | |
<apex:form> | |
<apex:pageMessages /> | |
<apex:pageBlock title="Feature" mode="edit" id="thePageBlock"> | |
<apex:pageBlockButtons> | |
<apex:commandButton action="{!save}" value="Save" /> | |
</apex:pageBlockButtons> |
NewerOlder