Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. David Edmunds

David Edmunds

Community Learner
Share
78Questions
79Answers
139.6KViews on questions

How to attone.lightning.force?

For attorney.lightning.force, you should be sure that all objects and pages and classes are added to Site Public Access Settings. On Setup Sites > click the label of your site on the list. Your site page opens, and click the "Public Access Settings" button.Here all permissions should be set. First edit and give…

Salesforce

Answered May 9, 2023 · 2.0K Views Read answer →

Can we enable Functions in Developer Org Salesforce edition?

Even though Functions can't be enabled in a Developer Org Salesforce edition, you can Develop Functions using the local development experience, connected to a Dev org without using a licence. You can take a look at the tutorial I published here: Getting Started with Salesforce Functions Locally. No Licence Required!

Salesforce

Answered May 5, 2023 · 791 Views Read answer →

How to convert Date to format "YYYY-MM-DDThh:mm:ss-hh:mm"?

I tried "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" pattern and I am able to convert Date from "YYYY-MM-DD" to "YYYY-MM-DDThh:mm:ss-hh:mm" format as given below- Date d = System.today(); Datetime myDT = datetime.newInstance(d.year(), d.month(),d.day()); String myDate = myDT.format('yyyy-MM-dd'T'HH:mm:ss.SSSXXX');…

Salesforce

Answered May 5, 2023 · 1.3K Views Read answer →

How to convert Datetime to a certain format yyyymmddHHmmss?

You're probably looking for formatGMT: String output = DateTime.now().formatGMT('yyyyMMddHHmmss'); System.debug(output); Note that MM is month, while mm is minute. This will give you the format you're looking for in GMT (GMT-00:00). You can read SimpleDateFormat for all available options.

Salesforce

Answered May 5, 2023 · 1.1K Views Read answer →

How to make a lightning checkbox?

You can add attributes checked to lightning-input from the javascript controller. You can access the lightning checkbox element by some attribute. In this example all checkboxes are accessed by setting the data-id attribute. html file - js controller-import { LightningElement, track, api } from 'lwc'; export default…

Salesforce

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

What are the apex exceptions?

Below is a list of apex exceptions - AsyncException CalloutException DmlException EmailException ExternalObjectException InvalidParameterValueException LimitException JSONException ListException MathException NoAccessException NoDataFoundException NoSuchElementException NullPointerException QueryException…

Salesforce

Answered May 4, 2023 · 560 Views Read answer →

When does force:recordData execute?

In order to correctly output a log of anything force:recordData does, you need to wait for it to resolve fully. Luckily, we have an attribute we can listen to, the recordUpdated attribute. This should work: Component Controller handleRecordChanged: function(component, event, helper) {…

Salesforce

Answered May 4, 2023 · 820 Views Read answer →

What is the difference between Custom Settings and Custom Metadata Types?

I've done quite a bit of research on the difference between Custom Settings and Custom Metadata Types, and I've found that in only a few cases are Custom Settings more useful. Custom Metadata types have a number of advantages that make them the correct choice to implement almost always. A lot of this has already been…

Salesforce

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

SOQL vs SOSL - Which one to use and when?

SOQL vs SOSL Definition SOQL (Salesforce Object Query Language) Use the Salesforce Object Query Language (SOQL) to construct simple but powerful query strings in the queryString parameter in the query() call, in Apex statements, in Visualforce controllers and getter methods, or in the Schema Explorer of the Force.com…

Salesforce

Answered May 2, 2023 · 1.6K Views Read answer →

How can I check to enable aura component access to fix the winter 22 release?

There are few points to consider to enable aura component access fix winter 22 release. This update was first made available in Summer ’21 and is enforced in Winter ’22. This wont affect if you are building a non managed package solution. This is still not enforced automatically. Now in your scratch org or sandboxes…

Salesforce

Answered May 1, 2023 · 615 Views Read answer →

How to run the execute controller method during [removed] event?

I suggest you update your onbeforeunload to return null; like so: [removed] = function() { // delete the temporary records. MyController.deleteTemporaryRecords('{!reportId}',handleResult); console.log('deleting temporary records. {!reportId}'); return null; }That said, I would be very wary of this approach. Clients…

Salesforce

Answered May 1, 2023 · 603 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.