Tag Archives: Retrieve Records in Lightning

How to Fetch current Record Id from Lightning Web Components (LWC)

This blog discusses on how to fetch the current record Id in the lightning web component. RecordId property is used in the lightning record page, and the property, i.e., recordId, is set to a current record Id. We are using this property in a JavaScript class using a @api decorator, and we need to define… Read More »