buli
2023-07-11 0c4796706fc9473d069b620321a54b20a119906c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
    <c-example-wrapper
        icon-name="standard:account"
        lwc="editRecord"
        title="Edit Record"
        visualforce="editRecord"
        record-id={recordId}
        visualforce-height="230px"
    >
        <c-edit-record record-id={recordId} slot="lwc"></c-edit-record>
 
        <!-- prettier-ignore -->
        <p>
            Use <a target="_blank" href="https://developer.salesforce.com/docs/component-library/bundle/lightning-record-form">
            lightning-record-form</a> in edit mode to create or edit records as first option.
            Use <a target="_blank" href="https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form">
            lightning-record-edit-form</a> if you want to prepopulate fields or use a custom layout.
        </p>
        <!-- prettier-ignore -->
        <p>
            <b>Note: </b>
            You can use the <a target="_blank" href="https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.use_navigate">
            Navigation Service </a> to redirect to record page after save.
        </p>
    </c-example-wrapper>
</template>