Skip to content

Instantly share code, notes, and snippets.

View FishOfPrey's full-sized avatar
💭
🦈

Daniel Ballinger FishOfPrey

💭
🦈
View GitHub Profile
@FishOfPrey
FishOfPrey / soapSforceCom200608Apex.cls
Last active January 27, 2021 16:54
Call the Salesforce Apex API executeAnonymous web method and return resulting the DebuggingHeader
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
//Methods Included: executeAnonymous
//Methods Excluded: compileAndTest, compileClasses, compileTriggers, runTests, wsdlToApex
// Primary Port Class Name: Apex
public class soapSforceCom200608Apex {
public class AllowFieldTruncationHeader_element {
public Boolean allowFieldTruncation;
private String[] allowFieldTruncation_type_info = new String[]{'allowFieldTruncation','http://soap.sforce.com/2006/08/apex','boolean','1','1','false'};
private String[] apex_schema_type_info = new String[]{'http://soap.sforce.com/2006/08/apex','true','false'};
private String[] field_order_type_info = new String[]{'allowFieldTruncation'};
@FishOfPrey
FishOfPrey / ToolingAPI.cls
Last active August 29, 2015 14:10
Apex proxy classes to call v32.0 of the Tooling API via WebServiceCallout.invoke.
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
//Methods Included: create, delete, describeGlobal, describeSObject, describeSObjects, describeValueType, describeWorkitemActions, executeAnonymous, getDeleted, getServerTimestamp, getUpdated, getUserInfo, invalidateSessions, login, logout, query, queryAll, queryMore, retrieve, runTests, runTestsAsynchronous, setPassword, update, upsert
// Primary Port Class Name: SforceService
public class ToolingAPI {
public class ActionOverride {
public Boolean isAvailableInTouch;
public String name;
public String pageId;
public String url;
private String[] isAvailableInTouch_type_info = new String[]{'isAvailableInTouch','urn:tooling.soap.sforce.com','boolean','1','1','false'};
@FishOfPrey
FishOfPrey / background.js
Last active November 26, 2015 00:46
Chrome Extension to replace the standard CKEditor configuration with one of my control in the Salesforce success forums
chrome.webRequest.onBeforeRequest.addListener(
function(details) {
//return {redirectUrl: 'https://developer.salesforce.com/forums/ckeditor/ckeditor-5.x/rel/sfdc-config.js'};
return {redirectUrl: 'https://na5.salesforce.com/resource/1447106281000/DFB__sfdcConfig'};
},
{
urls: [
"https://developer.salesforce.com/forums/ckeditor/ckeditor-4.x/rel/sfdc-config.js",
"https://developer.salesforce.com/forums/ckeditor/ckeditor-4.x/rel/sfdc-config.js?t=4.4.6.4"
],
<tr><td><a name="000">000</a></td><td>EmptyKey</td><td><a href="http://www.fishofprey.com/2011/06/salesforce-empty-key-id.html">Ref</a></td></tr>
<tr><td><a name="001">001</a></td><td>Account</td><td></td></tr>
<tr><td><a name="002">002</a></td><td>Note</td><td><a href="http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_note.htm">Doc</a></td></tr>
<tr><td><a name="003">003</a></td><td>Contact</td><td></td></tr>
<tr><td><a name="005">005</a></td><td>User</td><td></td></tr>
<tr><td><a name="006">006</a></td><td>Opportunity</td><td></td></tr>
<tr><td><a name="007">007</a></td><td>Activity</td><td></td></tr>
<tr><td><a name="008">008</a></td><td>OpportunityHistory</td><td></td></tr>
<tr><td><a name="00A">00A</a></td><td>FORECAST_ITEM</td><td></td></tr>
<tr><td><a name="00B">00B</a></td><td>ListView</td><td></td></tr>
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
// http://globalcurrencies.xignite.com/xGlobalCurrencies.asmx?wsdl
//Methods Included: GetRealTimeRate
//Methods Excluded: GetRealTimeRates, GetBars, GetHistoricalRatesRange, GetLatestCrossRates, GetHistoricalRates, GetRealTimeRateTable, ListActiveCurrencies, ConvertRealTimeValue, ListCurrencies, GetAllRealTimeRates, GetLatestCrossRate, GetBestCrossRate, GetBestCrossRates, ConvertHistoricalValue, GetHistoricalRate, GetLatestHistoricalRate, GetLatestHistoricalRates, GetHistoricalRatesRanges, GetOfficialHistoricalRate, GetOfficialRate, GetOfficialRates, GetOfficialHistoricalRates, GetTick, GetTicks, GetBar, GetChartBars, GetLondonHistoricalRatesRange, GetForwardRate
// Primary Port Class Name: XigniteGlobalCurrenciesSoap
public class wwwXigniteComServices {
public class GetRealTimeRate_element {
public String Symbol;
private String[] Symbol_type_info = new String[]{'Symbol','http://www.xignite.com/service
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
// Warning: PaymentType - All the XmlSchemaElements in '<xsd:choice>' element are added as members of the class. Choice Members: creditCard bankAccount
// Warning: PaymentMaskedType - All the XmlSchemaElements in '<xsd:choice>' element are added as members of the class. Choice Members: bankAccount creditCard tokenInformation
// Warning: ProfileTransactionType - All the XmlSchemaElements in '<xsd:choice>' element are added as members of the class. Choice Members: profileTransRefund profileTransCaptureOnly profileTransAuthOnly profileTransPriorAuthCapture profileTransVoid profileTransAuthCapture
//Methods Included: CreateCustomerProfile
//Methods Excluded: IsAlive, AuthenticateTest, ARBCreateSubscription, ARBUpdateSubscription, ARBCancelSubscription, ARBGetSubscriptionStatus, ARBGetSubscriptionList, ARBGetSubscription, CreateCustomerProfileFromTransaction, CreateCustomerPaymentProfile, CreateCustomerShippingAdd
public String Street;
public String Zip;
private String[] Email_type_info = new String[]{'Email','urn:ebay:api:PayPalAPI','EmailAddressType','1','1','false'};
private String[] Street_type_info = new String[]{'Street','urn:ebay:api:PayPalAPI','string','1','1','false'};
private String[] Zip_type_info = new String[]{'Zip','urn:ebay:api:PayPalAPI','string','1','1','false'};
private String[] apex_schema_type_info = new String[]{'urn:ebay:api:PayPalAPI','true','false'};
private String[] field_order_type_info = new String[]{'DetailLevel','ErrorLanguage','Version','Email','Street','Zip'};
}
public class AddressVerifyResponseType {
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
public class ebayApisCorecomponenttypes {
//Warning: Simple Content Types with Attributes are not supported by WebServiceCallout.invoke
public class AmountType {
public Double input;
private String[] input_type_info = new String[]{'input','http://www.w3.org/2001/XMLSchema','double','1','1','false'};
public String currencyID;
public String[] currencyID_att_info = new String[]{'currencyID'};
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
//Warning: '<xsd:any>' element type has been changed to dataType List<DOM.XmlNode> called anyElement
public class ebayApisEblbasecomponents {
//Warning: '<xsd:any>' element type has been changed to dataType List<DOM.XmlNode> called anyElement
public class AbstractRequestType {
public String[] DetailLevel;
public String ErrorLanguage;
public String Version;
//Generated by FuseIT WSDL2Apex (http://www.fuseit.com/Solutions/SFDC-Explorer/Help-WSDL-Parser.aspx)
public class ebayApisEnhanceddatatypes {
public class EnhancedCancelRecoupRequestDetailsType {
private String[] apex_schema_type_info = new String[]{'urn:ebay:apis:EnhancedDataTypes','true','false'};
private String[] field_order_type_info = new String[]{};
}
public class EnhancedCheckoutDataType {
private String[] apex_schema_type_info = new String[]{'urn:ebay:apis:EnhancedDataTypes','true','false'};
private String[] field_order_type_info = new String[]{};