What
I want to edit a record page (Account rec page) with the respective value and update this record by using Salesforce Metadata API
So far
I am developing an LWC component where I can update the record page through metadata API without adding all the input fields (lightning-input-field) inside the template, instead of that can I iterate all the available fields present in that record page using Metadata API (ref: below code).
As I am dealing with the sObject I found some solution but with lack of explanations and how can I read and update the record for current pagelayout by using the metadata API
P.S:- any reference solution for this would be appreciated
<template for:each={fieldList} for:item='fieldName'>
<lightning-input-field key={fieldName} field-name={fieldName} ></lightning-input-field>
</template>