<template>
    <lightning-card
        title="RecordViewFormDynamicContact"
        icon-name="standard:contact"
    >
        <div class="slds-var-m-around_medium">
            <lightning-record-view-form
                object-api-name={objectApiName}
                record-id={recordId}
            >
                <lightning-output-field
                    field-name="AccountId"
                ></lightning-output-field>
                <lightning-output-field
                    field-name="Name"
   