Posts

Showing posts from April, 2024

Get Record Id RecordId in LWC

import  {  LightningElement , track, wire, api }  from   'lwc' ; import  {  CurrentPageReference  }  from   'lightning/navigation' ; export   default   class   InternalUserOrderScreen   extends   NavigationMixin ( LightningElement ) { @ wire( CurrentPageReference ) currentPageReference; connectedCallback() {          this .recordId =  this .currentPageReference.attributes.recordId;         setTimeout(() => {                  this .getOrderDetail();                  this .geOrdProducts();                  this .callPortDis();    ...