I am working on an sfdx project based on the sfdx-falcon template. I studied all available materials that I could find:
- SFDX-Falcon Project Template
- Salesforce DX 201 - Advanced Implementation for ISVs
- Two SFDX project folder structure questions
Generally it's clear how to work with a falcon project. However, when it comes to details, I am confused with the purpose of certain folders (modules), or where to put some components (e.g. pages, applications, flexipages etc.) To my bitter disappointment I couldn't find reasonable explanation so far.
Question 1
For example, in DX Custom Metadata Types are stored in the customMetadata
folder, and it is confusing when I see customMetadata
and customMetadataTypes
folders in the Schema folder. So what purpose does each of these two folders serve in the Schema folder?
Question 2
I have a custom application (.app-meta.xml) in the applications
folder. Where should I put my apps: somewhere in the main
module or create a feature
module for this?