Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Aalap Prabhakaran

Aalap Prabhakaran

Community Learner
Share
163Questions
161Answers
264.5KViews on questions

What were all sort primed in the lightning-datatable sort example?

The answer to your question - What were all sort primed in the lightning-datatable sort example is - primer is just a function that does something to "prime" the data. For example, you might use it to make all the values lowercase, or uppercase, or round to the second significant digit, or whatever else you might want…

Salesforce

Answered Jun 1, 2023 · 890 Views Read answer →

When to use aura {#v.attrib} vs {!v.attrib}?

If you want to show a value dynamically based on a aura:attribute, generally we tend to use: {!v.attrib} Eg: So if you do cmp.set('v.attrib','test'), then aura:framework automagically does an dirty checking and changes the value accordingly.(Two-way binding)So the label of the is set to test, just think of this as…

Salesforce

Answered May 11, 2023 · 770 Views Read answer →

How to retrieve SObject using Schema.SObjectType class?

To retrieve SObject using Schema.SObjectType class- From the sObjectType object, use the newSobject method to create a new record in memory. It accepts a single optional parameter for the record Id: targetSObject = new sor.getSObjectType().newSobject(sObjectID); As an aside, if you already know the Id, you don't need…

Salesforce

Answered May 4, 2023 · 3.8K Views Read answer →

What is " 1-800-NO-SOFTWARE" on the salesforce website?

On US phones at least the number keys have 3 (or 4) letters on each number, so dialing "1-800-NO-SOFTWARE" actually means dialing 1-800-66-76389273. Note that that number is too long, but dialing the extra 273 at the end has no effect on most systems and will connect you to 1-800-667-6389, their real number.It's just…

Salesforce

Answered May 3, 2023 · 1.8K Views Read answer →

What to do when I receive - no applicable approval process was found?

I think there is a problem with profile permissions which is why you are receiving - no applicable approval process was found. Try with this code: Account acc1 = new Account(Name='acc1'); insert acc1 if([select count() from ProcessInstance where targetobjectid=:acc1.id] < 1 xss=removed xss=removed>

Salesforce

Answered Apr 28, 2023 · 2.5K Views Read answer →

How to resolve the error - apex cpu time limit exceeded?

To resolve the error - apex cpu time limit exceeded - 34 seconds is the "wall clock" time calculated from the log, which is not reflective of what you're getting "charged" for in the CPU limit. Actual limit usage will be less than that. I usually use a System.assert(false, Limit.getCpuTime()) at the end of my code if…

Salesforce

Answered Apr 27, 2023 · 1.1K Views Read answer →

How to login Pardot Sandbox?

Turns out all you need to do is have a licence match for the login pardot sandbox: https://help.salesforce.com/s/articleView?id=000335272&type=1

Salesforce

Answered Apr 27, 2023 · 890 Views Read answer →

How does ownerid differ from owner.id?

You should use OwnerId. I am not sure why there is a difference in values, and will try to reproduce. But there is no reason to introduce a cross-object reference when all you need is the Id value itself. One example why Owner.Id is less preferable: system.debug(c.get('OwnerId')); // works…

Salesforce

Answered Apr 26, 2023 · 1.1K Views Read answer →

How to cover wrapper class variables in apex test class?

You can't cover wrapper class variables in apex test class. Variable declarations outside a method cannot be covered, and do not count for, or against, code coverage requirements. A class with no coverable lines will show coverage as 0% or NaN% (in DX), but will still successfully deploy.

Salesforce

Answered Apr 26, 2023 · 3.7K Views Read answer →

How can I perform the apex change of address?

Write a trigger on accounts. Take the list of account ids which are getting updated. Then get the list of all the contacts which are associated with that account. Run over the loop of accounts and contacts and see if (AccounId == ContactId). Inside the loop make Contact.Address = Account.address and add all contacts…

Salesforce

Answered Apr 26, 2023 · 880 Views Read answer →

More members from the Salesforce community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.