Examples of Vlocity/SF LWC components (in various states of working)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
648 B

import { LightningElement } from 'lwc';
import { BaseLayout } from "vlocity_cmt/baseLayout";
export default class CustomLayout extends BaseLayout(LightningElement) {
// @api recordId;
// @api theme;
// @api parent;
// @api definition;
// @api isLoaded;
// @api debug;
// @api records;
connectedCallback() {
this.cards = this.definition.Cards;
console.log("This is definition object", JSON.parse(JSON.stringify(this.definition)));
console.log("This is records", JSON.parse(JSON.stringify(this.records)));
console.log("This is cards", JSON.parse(JSON.stringify(this.cards)));
}
}