Hello, Im having this issue that when working with...
# sdf
i
Hello, Im having this issue that when working with custom records when trying to deploy custom records this error appears
The manifest contains a dependency on customrecord_bit_ci_lines.custrecord_bit_country_of_origin object, but it is not in the account
?
m
Check your manifest.xml. It's probably listing that custom field as a dependency because you don't have it in the project.
i
Actually Im getting an error to all my objects
The dependencies are there the thing is the fields for the custom records are marked as a dependency which it shouldn’t right?
e
If an Object is defined in your project, it should not be listed in the dependencies for that project
So if you're trying to deploy
customrecord_bit_ci_lines
, then no part of that Custom Record should be defined in your dependencies
i
Ok, so I managed to do the deployment, I did as you said, I left the manifest empty, then I did the deployment, everything worked, Then I clicked again the “`Add dependency references to manifest`” (This was the thing that I did the first time it failed, and it created me that manifest with the dependencies) and now it worked. So, is that the way it should be done? First upload all the objects without dependencies and then with the plugin create the dependencies and deploy it again?
Im a bit lost because the plugin created me that manifest haha
A bit of an update, I was getting an error of a dependency because a script is using some searches. All the searches are in the
deploy.xml
but I was still getting a dependency error, after a while I decided to move the order of the objects, first the searches and then the record that was using them and that was it. So if anyone is having the same issue make sure to first put the “childs” and then the parents!