Custom labels are custom text values that can be accessed from Apex, Visual Workflow, Process Builder, and so on. The values can be translated into any language that Salesforce supports. You can create up to 5,000 custom labels in an organization, and they can be up to 1,000 characters in length. If we talk about Best Practices Salesforce never Supports Hard Coded IDs. So at that point of Time … Continue reading How to use Custom Label in Process Builder?
Call Apex Through Process Builder
So today I will post how to call apex Class through Process Builder. Sometimes there is a requirement when we need to apex class through Process Builder. Apex Class : Public class InvokeClassThroughProcessbuilder { @InvocableMethod(label='Get Lead Name') Public static void LeadUpdatefromProcessBuilder(List <ID> LeadIds ){ Set<Id> leadId= new Set<Id>(); leadId.addAll(LeadIds); List< Lead > leadtoUpddate = new … Continue reading Call Apex Through Process Builder
How to Resolve Iframe Scroll issue for PDF in Lightning for IPAD in Salesforce 1?
So I had one of the Requirements where I had to generate PDF through VF page and Open that on Click of Quick action. But I was facing an issue that scroll for the PDF was not Working. My PDF had 4 pages and In case of IPAD, the scroll was not working. After trying … Continue reading How to Resolve Iframe Scroll issue for PDF in Lightning for IPAD in Salesforce 1?
How to handle mixed DML Exception in salesforce?
So before knowing how to handle this exception we need to understand why this error comes or say what is the root cause of this error . Whenever you are getting this error it means that you cannot perform DML on two sObjects (setup & non-setup) in the same transaction. In general, all the apex … Continue reading How to handle mixed DML Exception in salesforce?
How to run batch Class in Salesforce?
1. From the Developer Console, click Debug | then Open Execute Anonymous Window.2. Execute the following code. Id runningJobID = Database.executeBatch(new TestBatchForRun(), 200); After running this piece of code you will get the Debug log for the same and you check if the batch is running or not. With this you can even go to Setup > … Continue reading How to run batch Class in Salesforce?
You must be logged in to post a comment.