9
votes
Salesforce Files for massive storage
There are three main considerations: the cost, the technical limits, and the lead time.
Adding anything with salesforce.com typically requires a contract to be signed every time you do anything. So ...
6
votes
Accepted
Quick action is not loading LWC while reloading the page
Update: This was fixed with Summer '22
This is a known bug (no public known issue, W-10027362). It's currently scheduled to be fixed in Summer '22 (safe harbor).
If you pay attention to the URL, you'...
5
votes
Accepted
I am Receiving Error on Formula Number Field
The issue is your minus sign character (-).
I presume you copied this formula from that site and then replaced the fields. It seems the minus sign (-) is actually an en dash instead of a hyphen-minus ...
3
votes
Not able to add Public Calendar as Community User on Community
If you are accessing the experience site as internal user or partner user, Public Calendar and Resources will be visible. If you are using customer community or customer community plus user, then this ...
3
votes
Accepted
Is there a way to launch a Lightning App in Lightning from Classic?
Using lightning.force.com/lightning in a URL link should be enough to have the user's page opened in Lightning Experience (LEX).
In terms of opening a specific app, there's two ways that you can see ...
3
votes
Accepted
Why does the Search Layouts for Salesforce Classic tab in Object Manager still show in a Lightning org?
As confusing as the name is, the Search layouts for Salesforce Classic tab is used for updating the List View Layout which applies to both Lightning Experience & Salesforce Classic. As of now, ...
3
votes
Accepted
How to switch into a specific app in Lightning Experience from a link?
I am able to switch apps using a url:
To switch to a standard app: https://[domain].my.salesforce.com/lightning/app/standard__Sales
To switch to a custom app:
https://[domain].my.salesforce.com/...
3
votes
Accepted
What permission required for user to customize tabs in lightning
Lightning
There is no specific permission required (aside from not being an API-only user), but there are specific conditions that must be met. First, the App being used must be a Lightning App. ...
2
votes
Salesforce Lightning Custom Object Calendar Sharing with users
FIrst create a public group with all the Users needed
Then use the below code.If you are looking to use a public calendar you will have to assign the id of public calendar to publisher Id of ...
2
votes
Accepted
Return to calling page from Aura overriding Standard Action
I found one workaround for this particular scenario, although not the most elegant one, it works just fine:
refresh : function(){
window.setTimeout(
$A.getCallback(function(){
$...
2
votes
Return to calling page from Aura overriding Standard Action
I ran into the sam issues and solved them by resorting to a Visualforce wrapping my Aura component:
Quick Action UI not rendered as modal -> fake modal look with
stencil images
Inconsistent ...
2
votes
How to send a custom notification without an actual redirect?
As you already mentioned, you must specify either a targetId or a targetPageRef.
In your case, if you don't want to redirect the user to any page, simply set dummy id for targetId. This is also ...
2
votes
Accepted
change color of a lightning-vertical-navigation-item-icon
You could achieve this with styling hooks.
In the chrome console you can see that for filling color is used this variable --sds-c-icon-color-foreground-default.
You can override this variable with ...
2
votes
How can I see how a LEX dashboard component was originally configured, after error message that field is no longer available?
Look at the Dashboard metadata.
With VS Code and the CLI installed, you can run the following command in the terminal to retrieve all dashboards
sfdx force:source:retrieve -m Dashboard
Otherwise, you ...
2
votes
How to add merge fields related to User and Community in Lightning Email Template
Based on the doc,
To insert merge fields into your Experience Cloud site email templates,
From Setup, enter Email Templates in the Quick Find box, and select
Classic Email Templates. Next to an ...
2
votes
Accepted
How to remove spaces between Lightning-card and border
Looking at the HTML structure, you have used lightning-card in an incorrect way.
In the code, you have 3 lightning-card and a div with slds-card, only one is sufficient to render a card, as card comes ...
2
votes
Accepted
Accessing the record fields in Aura lightning component
Updated: try adding-
<aura:attribute name="caseRecord" type="Object"/>
2
votes
Accepted
More fields in page layout for lookup fields
It can be done using Compact Layouts:
Go to Object Manager → Open the Custom Object
Go to Compact Layout → Click on System Default
Clone it and create a new Compact Layout. Select the fields to be ...
2
votes
using multiple conditions inside Aura:If
You're confusing AND for OR, and also your conditions would need to be inverted. I presume you want a value of 1-4 being valid, anything else not valid. To get there:
<aura:if isTrue="{!or(...
2
votes
LWC, Error "document.write is not a function" using third party JS
To add to @sfdcfox's comment and in case it helps anyone in the future, I ended up moving the request to an Apex class and returning the url of the response to the lwc component
2
votes
Accepted
LWC @api is not working in experience builder while logged in as community user
If a class referenced directly from an LWC is defined as with sharing or inherited sharing Salesforce enforces sharing rules, so Apex code will run in the current user context.
That's why with an ...
2
votes
Accepted
I am new to LWC. I dont want to show alert message every time i refresh account detail page
Everytime the page is refreshed, the component goes through its lifecycle flow, so the wire method runs and if those conditions are met it will show the alert.
In order to avoid this, you must set a ...
1
vote
Accepted
Field in Record Collection Variable not Updated after Loop Element
There is an issue in the assignment block. As mentioned above by @cropredy You have to add the current element in the loop to a collection variable and update the collection variable as shown below.
...
1
vote
Field in Record Collection Variable not Updated after Loop Element
So, your issue is that assigning values back into the collection that you are looping on does not make them available for the Update element
Instead, you need to
create a new record collection ...
1
vote
Accepted
[ResizeObserver is not a constructor]
ResizeObserver is not supported in Lightning when using the Lightning Locker Service. You can check out the Locker API. You might be able to fix this by using the new Beta Lightning Web Security, ...
1
vote
Static Resource Stylesheet in Head Markup of Experience Builder Site
Found your post, ran into this same issue, though I've gotten the static resource to load, I just can't get it to be site relative across sandboxes.
Try this:
<link rel="stylesheet" type=&...
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
Salesforce Lightning Custom Object Calendar Sharing with users
Currently, the Salesforce Public Calendars that were referenced by SalesforceMeach above only show Events. The author specified Custom Object calendars, which currently can only be created as private ...
1
vote
Accepted
Custom Button or Link in List View Rows
You cannot customize the list view item's actions. Actions in Lightning Experience mention this:
List view items support only specific standard actions, like Edit,
Delete, or Change Owner.
There's a ...
1
vote
Accepted
Access dom element from <head> in experience builder
I know this is a bit late but I just did something similar and I got it to work. I ended up using the window onload event and it worked.
Its possible the console is showing null because the body is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-experience × 1874lightning-aura-components × 883
lightning × 873
lightning-apps × 210
lightning-design-system × 205
lightning-web-components × 195
visualforce × 173
apex × 115
javascript × 71
community × 69
salesforce1-app × 52
salesforce-classic × 45
lightning-community × 43
page-layout × 41
quickaction × 36
aura × 34
custom-button × 30
salesforcedx × 26
css × 24
list-view × 23
visual-workflow × 21
email × 20
slds × 20
reporting × 19
activities × 19