I am deploying an app that uses Dynamic Forms with multiple field sections. However, the target deployed environ only shows the field sections without any of the fields in them. There are no records in this app. I don't even see the fields when creating a new record. Is there something else I need to add to the package.xml to retrieve in order to associate the fields to these field sections ? My profile has the proper permissions and tab visibility so this is not an access issue.
Manifest package and retrieval used (with properties file):
<target name="LightningBundle">
<sf:retrieve username="${DEV.username}" password="${DEV.password}" serverurl="${DEV.url}" retrieveTarget="LightningBundle" unpackaged="LightningBundle.xml" maxPoll="10" pollWaitMillis="500000" trace="false" apiVersion="50.0"/>
</target>
Manifest
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>ComplaintReviewUnit</members>
<name>CustomApplication</name>
</types>
<types>
<members>Inquiry__c</members>
<name>CustomObject</name>
</types>
<types>
<members>Inquiry__c-ComplaintReviewUnit</members>
<name>Layout</name>
</types>
<types>
<members>Inquiry__c.ComplaintReviewUnit</members>
<name>RecordType</name>
</types>
<fullName>Complaint Review Unit Record Page</fullName>
<types>
<members>Complaint_Review_Unit_Record_Page</members>
<members>Complaint_Review_Unit_UtilityBar</members>
<name>FlexiPage</name>
</types>
<types>
<members>Inquiry__c</members>
<members>CRUTest__c</members>
<name>CustomTab</name>
</types>
<version>50.0</version>
</Package>
Now we see the FieldInstances representing the fields placed within the FieldSection components. The names of the FieldSection components (columns and Name) are represented by the Facet.
<flexiPageRegions>
<itemInstances>
<fieldInstance>
<fieldItem>Record.trmsNo__c</fieldItem>
</fieldInstance>
</itemInstances>
<itemInstances>
<fieldInstance>
<fieldItem>Record.remediationNo__c</fieldItem>
</fieldInstance>
</itemInstances>
<itemInstances>
<fieldInstance>
<fieldItem>Record.status__c</fieldItem>
</fieldInstance>
</itemInstances>
<name>Facet-60f8245e-1e6c-40aa-8041-6d2a6ef64539</name>
<type>Facet</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<fieldInstance>
<fieldItem>Record.Case__c</fieldItem>
</fieldInstance>
</itemInstances>
<name>Facet-a683ab77-d9c9-48a9-b8fe-03c767a54094</name>
<type>Facet</type>
</flexiPageRegions>
The FieldSection component is in 2 column format. Each column is represented by it's own unique Facet. The last (3rd) Facet is the actual reference to the 'Name' of the FieldSection.
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>body</name>
**<value>Facet-608e22f2-3967-406e-9394-0bb9fcbdaf2f</value>**
</componentInstanceProperties>
<componentName>flexipage:column</componentName>
</componentInstance>
</itemInstances>
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>body</name>
**<value>Facet-2e76466f-de89-483b-b5c9-c871eb028a3e</value>**
</componentInstanceProperties>
<componentName>flexipage:column</componentName>
</componentInstance>
</itemInstances>
<name>**Facet-417af858-bde8-4e36-b009-0f1a3e84d349**</name>
<type>Facet</type>
</flexiPageRegions>
This is the Facet that reflect the Name of the FieldSection:
<itemInstances>
<componentInstance>
<componentInstanceProperties>
<name>columns</name>
<value>**Facet-417af858-bde8-4e36-b009-0f1a3e84d349**</value>
</componentInstanceProperties>
<componentInstanceProperties>
<name>label</name>
<value>**Call Listening Response**</value>
</componentInstanceProperties>
<componentName>flexipage:fieldSection</componentName>
<visibilityRule>
<criteria>
<leftValue>{!Record.requestCallListening__c}</leftValue>
<operator>EQUAL</operator>
<rightValue>Yes</rightValue>
</criteria>
</visibilityRule>
</componentInstance>
</itemInstances>