2
votes
Accepted
Custom Object File Field
There is no such thing as a 'file field' in Salesforce. Files cannot be part of a record on a custom object. They can only be 'related' to a record. This is what you see when you add the Files related ...
1
vote
Accepted
how to get values in array in javascript
DATA is an object, not an array, so it lacks size() method, therefore this.DATA.size() will throw an error, something like "DATA.size is not a function".
DATA.SKILLS is an array, so you have ...
1
vote
How to Save record and close modal popup in Lightning Web Component ( LWC )
Add onsuccess event in the Record-Edit-form tag and close your modal in the onsuccess modal. onsuccess means your records have been saved.
<lightning-record-edit-form
id="recordViewForm"
...
1
vote
Accepted
Creating new "relative date ranges" for payroll periods
Here's what I ended up doing... Making a Custom Field.
There are four "statuses" for Events, using the ActivityDate standard field. Four statuses are Current (meaning the event is in the ...
1
vote
Does a Lightning Component know if it is in a Community or a standard Lightning Salesforce page?
A bit late for the party but this how I solved this issue:
Assumption, you have created a Custom LWC component, in this example you'll see different URL's for Standard and Community pages.
Let's start ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning × 6443lightning-aura-components × 2986
lightning-experience × 872
lightning-web-components × 781
apex × 642
javascript × 533
visualforce × 431
lightning-design-system × 395
lightning-apps × 370
aura × 337
community × 291
css × 148
slds × 118
locker-service × 116
visual-workflow × 112
lightning-datatable × 107
lightning-community × 105
salesforce1-app × 95
javascript-controller × 91
lightning-events × 89
controller × 83
quickaction × 75
salesforcedx × 73
custom-button × 71
page-layout × 68