Ti trovi qui:
Generazione di un URL di invito all'appuntamento per il sito Web di un cliente
È possibile generare un URL di invito all'appuntamento che si apre direttamente all'interno di un portale clienti tramite Lightning Out.
Ti trovi qui:
È possibile generare un URL di invito all'appuntamento che si apre direttamente all'interno di un portale clienti tramite Lightning Out.
| Disponibile in: Lightning Experience. |
| Disponibile in: Enterprise Edition e Unlimited Edition |
L'URL di invito include due componenti: il prefisso dell'URL e la chiave. La chiave di invito è generata automaticamente. È possibile specificare il prefisso dell'URL di invito nel componente schermata del flusso Seleziona l'ora dell'appuntamento di servizio.
Per fare in modo che l'URL si apra nel portale di un cliente tramite Lightning Out, specificare l'URL del sito Web del cliente nella variabile del flusso InvitationURLPrefix. Dopo avere specificato il prefisso nel flusso e attivato il flusso, seguire la procedura descritta in Generazione di un URL di invito a un appuntamento.
Per aggiungere il flusso Generazione invito all'appuntamento a un sito Web, seguire la procedura descritta in Aggiunta del flusso Nuovo appuntamento guest in entrata a un sito Web. Assicurarsi di modificare il flusso in Generazione invito all'appuntamento e quindi passare il parametro invitationKey.
Di seguito è riportato un esempio di codice JavaScript per caricare e attivare l'app lightningOutGuest sulla propria pagina Web.
<script>
$Lightning.use("runtime_appointmentbooking:lightningOutGuest", // name of the Lightning app
function() {
$Lightning.createComponent(
"lightning:flow", // top-level component of your app
{ },
"lightningLocator", // the DOM location to insert the component
function(component) { // callback when component is created and active on the page
var inputVariables = [
{
name : 'invitationKey',
type : 'String',
value : new URLSearchParams(window.location.search).get('invitationKey')
}
];
component.startFlow('Invitation_Booking',inputVariables);
}
);
}, 'https://YourSiteDomain/SiteURL/' // Community endpoint
);
</script>

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.