Skip to content
Just Another Salesforce Blog!

Solutions to Salesforce problems that I have come across

  • Links
  • About Me

Category

8 Entries in: Apex

Create Einstein Bots with AI and External Data!!

PaddySeptember 19, 2018
Apex, Chatbot, Einstein, Einstein Bot, Salesforce, Salesforce AI, Salesforce Config
no comment
In this post – I will show how I have set up an Einstein Bot using both AI and Apex together with minimal apex coding! In my Bot – I use Einstein Intent Detection to determine what the customer is asking about, I then use Einstein variables and regex to determine an entity from a [...]
Read More

Trialforce – Create a custom signup using Force.com Sites

PaddyMay 3, 2017
Apex, Visualforce
no comment
There does not seem to much documentation online about this so I thought I would post how you can allow either potential customers or internal employees can create a trial/demo org via a web signup page. This page is hosted on Salesforce using Force.com sites. When you create the Visualforce page and controller below – [...]
Read More

Salesforce Console Integration Toolkit – Give App Level Components Context

PaddyApril 20, 2017
Apex, Lightning, Visualforce
no comment
In this point, I will show how you can create an app level component for the service cloud console that know the context of the current case tab that is open. By default, the app level components load separately and because they exist for all the case that are open – they cant interact with [...]
Read More

Salesforce – Cross Object Duplicate Matching

PaddyApril 3, 2017
Apex, Salesforce Config
no comment
Recently I had a requirement where we need to make sure that there could be only one type of a particular related record for an Account. The user simply creates one of these records using a Salesforce quick action so the solution need to work in this scenario. I thought of the usual ways to [...]
Read More

Apex – Navigate to Records in Lightning and Classic!

PaddyFebruary 7, 2017
Apex, Lightning, Visualforce
no comment
As I have mentioned in previous posts, I am working on an org using Salesforce Classic but I have been building any new UI features using Lightning Components and embedding them in Visualforce page so they will work the same in both Classic and Lightning. Recently I came across an issue where I needed to [...]
Read More

Build a quick create lightning component

PaddyJanuary 3, 2017
Apex, Lightning
no comment
Having previously looked at displaying a list of contacts beside the account details, I am now going to build a quick create component to also add to the page. While this could be done with a quick action without any code, the idea here is to build a structure that could be extended to add [...]
Read More

Apex – Populate a lookup relationship using an External ID

PaddyNovember 14, 2016
Apex
no comment
There are a few different ways to do this but recently I came across a really easy way that I thought I should share with everyone! In this example I have an Account and I have another object called AccountChild__c. The Account object has a field called ExternalID__c (which is an External Id field) and the [...]
Read More

Echosign/Adobe Sign Data Validation before Sending a Contract

PaddyOctober 27, 2016
Apex, Visualforce
no comment
In this post I will show how you can validate that all the relevant data has been entered for a contract when using Adobe Sign (formerly Echosign) with Salesforce. Usually a Echosign contract is generated by clicking a button on a record in Salesforce. This method avoids using any javascript buttons and as it uses [...]
Read More
© Just Another Salesforce Blog! 2021. Windflaw designed by Loft.Ocean.