Lightning-komponenthandlinger er tilpassede handlinger, der kalder en Lightning-komponent. De understøtter Apex og JavaScript og giver en sikker måde at opbygge tilpasset klientsidefunktionalitet. Lightning-komponenthandlinger understøttes kun i Salesforce Mobile-appen og Lightning Experience.
EditionsHeading
Tilgængelig i: både Salesforce Mobile-appen og Lightning Experience
Du kan føje Lightning til et objekts sidelayout ved brug af sidelayouteditoren eller til det globale handlingsområdelayout ved brug af layouteditoren for det globale handlingsområde. Hvis du har Lightning-komponenthandlinger i din organisation, kan du finde dem i kategorien Mobile- og Lightning-handlinger i sidelayouteditorens palet.
Lightning-komponenthandlinger kan ikke kalde enhver Lightning-komponent i din organisation. Hvis en komponent skal fungere som en Lightning-komponenthandling, skal den konfigureres til dette formål og enten implementere force:LightningQuickAction- eller force:LightningQuickActionWithoutHeader-målet. Du skal også angive en standardværdi for hver komponentattribut, der er markeret som krævet.
Hvis du planlægger at pakke en Lightning-komponenthandling, skal den komponent, som handlingen kalder, markeres som access=global.
Opret en Lightning-komponenthandling Oprettelse af en Lightning-komponenthandling minder om at oprette en almindelig hurtig handling, og du gør det det samme sted i Opsætning. Alt, hvad du har brug for, er en Lightning-komponent i din organisation for at den hurtige handling kan udløses.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.