GM - Record Card component is used to display a card of a related object. The related object could be at any level. The component can be configured to display a list of fields for a simple scenario or layout configuration for complex pages.
Use case: Display the ultimate account details on the contact page.
Specification
API Reference
<design:componentlabel="GM - Record Card"> <design:attributename="title"label="Card Title"description="Card Title"/> <design:attributename="icon"label="Card Icon"description="Card Icon"/> <design:attributename="showBorder"label="Show Border"description="Show record card border"/> <design:attributename="targetObjName"label="Object Name"description="Object Name to load"/> <design:attributename="recordIdField"label="Record Id Field"description="Record Id Field to load" /> <design:attributename="recordFields"label="Record Fields"description="Record Fields to display"/> <design:attributename="columns"label="# of columns"description="# of Columns for the layout"/> <design:attributename="mode"label="Display Mode"description="Display mode (edit, view, readonly)"/> <design:attributename="recordLayout"label="Record Layout"description="JSON Record Layout"/> <design:attributename="recordActions"label="Record Actions"description="JSON Record Actions"/> <design:attributename="buttonActions"label="Show Actions as Buttons"description="Use buttons for actions instead of icons"/> <design:attributename="visibleActions"label="Visible Actions"description="# of visible actions"/> </design:component>