Another Salesforce blog!!!

Salesforce, Apex

February, 2017

Salesforce: onClick JavaScript

Sample 1: {!REQUIRESCRIPT(“/soap/ajax/28.0/connection.js”)} {!REQUIRESCRIPT(“/soap/ajax/28.0/apex.js”)} var name = “{!Contact.FirstName}”; var conid = “{!Contact.Id}”; //window.confirm(‘are you sure you want to execute ‘ + conid ); //SELECT ContactId FROM User //where contactId = ‘003E000000crCfb’ //var userReg = sforce.connection.query(“SELECT ContactId from User where contactId //='{!Contact.Id}’ limit 1”); //alert(userReg ); var recordExists = false; var result = sforce.connection.query(“SELECT Name,ContactId from […]

Custom Metadata – Your Key to Dynamic Code

Custom Metadata – Your Key to Dynamic Code

Future Method

global class SomeClass { @future public static void someFutureMethod(List<Id> recordIds) { List<Account> accounts = [Select Id, Name from Account Where Id IN :recordIds]; // process account records to do awesome stuff } } Note The reason why objects can’t be passed as arguments to future methods is because the object can change between the time […]

Create Object Relationships

Create Object Relationships

Profiles / Rules / FLS

USING SOAPUI TO TEST SALESFORCE SOAP WEBSERVICES

USING SOAPUI TO TEST SALESFORCE SOAP WEBSERVICES (https://play.vidyard.com/s8gYmLgVhztuPTgPxRYGcQ)

Get to Know the Salesforce APIs

Trailhead link The Salesforce API landscape is as vast as the ocean blue. That’s because Salesforce takes an API-first approach to building features on the Salesforce App Cloud. API first means building a robust API for a feature before focusing on designing its UI. This approach gives you, the Salesforce developer, flexibility to manipulate your […]

workbench object describe

/services/data/v37.0/sobjects/DC_Asset__c/describe