3
votes
Promote an existing object to be part of a package
Not for a First Generation Unmanaged Package. They cannot be "partial" packages, will automatically fail installation if any component matches the target org's components, and can never be ...
2
votes
How to remove list-help header from transactional emails
I noticed this as well.
tl;dr:
It cannot be removed.
This was introduced in this release: https://help.salesforce.com/s/articleView?id=sf.mc_rn_january_2021_es_one_click_unsub1.htm&type=5
...where ...
2
votes
Promote an existing object to be part of a package
You can use the unlocked packages to achieve what you need. You will move the object to an unlocked package.
Once you create an unlocked package, install the package in the org. This installation does ...
2
votes
Accepted
Lightning Web Component Address Input code
You can simply install the lightning-base-components package, and there you'll find the source for every supported component, including the input address component.
1
vote
Accepted
Pre select values in multi select combobox
First of all thanks for mentioning and using my repo. The solution for preselecting picklist values is very simple and you can achieve it as follows:
Step 1
The combobox LWC is embedded in the HTML ...
1
vote
Pre select values in multi select combobox
You haven't given me a lot of information to go on here, but here are some tips:
Call your setSelection method in the renderedCallback method. This is because it's likely needing to interact with ...
1
vote
Custom Setting generates duplicate records
If you can, change the Account.RegistrationNumber__c field type to Autonumber and forget about it, let the platform handle it for you.
Delete the custom setting field storing the incrementing number ...
1
vote
Custom Setting generates duplicate records
Modify your existing Apex class to include a locking mechanism using the FOR UPDATE keyword when querying the custom setting record.
public static void generateRegistrationNumbers(List<Account> ...
1
vote
How can I move data from one field to another, then make the original field blank?
Assignments are not moves, they are copies. All you need to do is to assign the $Global.NullValue variable to the field you wish to clear out.
1
vote
How to create a custom field formula to show task owner first name on the task object?
The API name of the Assigned To is Owner. So can you try the below formula.
Owner:User.FirstName
1
vote
duplicate creation on same unit shouldn't be allowed using flow
If you can follow these steps i hope this will work for you.
Create flow on Unit creation (Record Triggered Flow).
Check it contains ContractId or not. (From Decision Element).
If its contains then ...
1
vote
Layout - How to rename related lists?
If you need to change the related list name of a standard object on the layout - you can with Salesforce new Dynamic feature from 2021/2022. Navigate to the Lightning Page Record by clicking Edit Page ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
custom × 356apex × 56
visualforce × 45
button × 29
object × 28
marketing-cloud × 26
javascript × 24
custom-object × 19
custom-button × 19
lightning-web-components × 18
journeybuilder × 17
email × 15
trigger × 14
lightning × 14
custom-field × 14
lightning-aura-components × 13
fields × 13
controller × 12
soql × 11
reporting × 9
customsetting × 9
tab × 8
community × 7
page-layout × 7
force.com × 7