Categories
Salesforce

DUPLICATE_VALUE, SetupOwnerId custom setting

A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, […]

Categories
Salesforce

Make a new Tab for LWC Lightining Web Component in Salesforce

Open -meta.xml file from your LWC component Change is exposed to True: <isExposed>true</isExposed> Add <target>lightning__Tab</target> Open Tab from setup and under Lightning Component Tabs press New and select your LWC component. Your file xml at the end should look like this:

Categories
Salesforce

SOQL to find All Users with a Custom Permission

Trova l’id di un dato custom permission in base al suo name Trova gli utenti con un certo custom permission settato

Categories
Salesforce

LWC: Funzioni base

Trailhead Qui dentro trovi informazioni su: @api @wire createRecordupdateRecorddeleteRecord Incapsulamento dei component o gerarchia Trailhead LWC: Eventi Trailhead

Categories
Salesforce

Salesforce LWC Example

Alcuni esempi di codici per LWC Binding Variabili import { LightningElement } from ‘lwc’; export default class App extends LightningElement { name = ‘Electra X4’; description = ‘A sweet bike built for comfort.’; category = ‘Mountain’; material = ‘Steel’; price = ‘$2,700’; pictureUrl = ‘https://s3-us-west-1.amazonaws.com/sfdc-demo/ebikes/electrax4.jpg’; ready = false; connectedCallback() { setTimeout(() => { this.ready = […]