function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pavushetti Abhilash 3Pavushetti Abhilash 3 

CREATE RECORD ID FOR CUSTOM OBJECT IN LWC

How to create record id for custom object in lwc. And How to pass the custom object record id in LWC.
CharuDuttCharuDutt
Hii Pavushetti
Try Below Code
LWC
<template>

RecordId : {recordId}

</template>


JS

@api recordId;


XML

<isExposed>true</isExposed>
    <targets>
        <target>lightning__RecordPage</target>
    </targets>
Please Mark It As Best Answer If It Helps
Thank You!