I have two sandbox instances, SB1 and SB2. A custo...
# sdf
d
I have two sandbox instances, SB1 and SB2. A custom field was created on SB1 directly/manually. I downloaded the XML file into my SDF project (object folder), updated dependencies (so it created a manifest.xml reference in the object list). But when I then try to publish the project to SB2, it complains of the missing dependency (but will work if I remove the reference and then update the dependencies. I'm sure I'm missing something obvious here, but how could I make this custom field deploy to any instance that needs it without any manual intervention? I've got a full CI/CD setup using the sdfcli as well. Thanks in advance.
a
updated dependencies (so it created a manifest.xml reference in the object list)
Why is it adding it as a dependency if you downloaded the file in the project? Sounds like that should not be marked as a dependency?
e
Right; if you want the Object to deploy as part of the project, then it should not be a Dependency. A Dependency is something that is owned/created/managed outside your project, but that your project relies on.
👍 2
d
Ok, thanks. It was pulled in via the
Add Dependency References to Manifest
using the webstorm plugin.
Sounds like I've brought in a bunch of dependencies that don't need to be there.