I created a scratch org, and I plan to deploy a basic schema to it. Being rather new to sfdx, I first run a sfdx project deploy preview
, and the cli outputs me the weirdest thing: it seems to interpret the customFields
as EmailServicesFunctions
.
here is what my directory structure looks like. There is 4 folders; custom and standard objects, CMDTs, and custom settings. You can see the output of the command in the terminal:
Some context/things to consider:
- The files appears to be in proper source format, as I have folders corresponding to the objects, and subfolders for their fields (vs mdapi where the objects are a single chunk with everything in it).
- The source comes from a gearset commit, from our SF org.
CustomObject
type is recognized properly- somehow
CompactLayout
is also aEmailServicesFunctions
(refer to image) - updated my plugin to sfdx-cli/7.198.7 win32-x64 node-v18.15.0 (in case that matters)
- doing a
sfdx project deploy start
results in: Error (1): Component conversion failed: ENOENT: no such file or directory, stat 'C:.forceignore' (adding to the mystery)
I would love to know why sfdx is not recognizing the CustomFields and telling me they are EmailServicesFunctions. To me this does not make any sense.
onyxtech/main/default/objects/
with both standard and custom objects below.onyxtech/main/standard/objects
andonyxtech/main/custom/objects
.