In using the metadata API to delete validation rules today, I ran into the issue described in this post, where i needed to set deployOptions.singlePackage
to true, in order for the rules to get deleted.
I understand that this setting indicates the structure of the zip file, as per the docs on the deploy method.
Indicates whether the specified .zip file points to a directory structure with a single package (true) or a set of packages (false).
However, it seems like all of the samples in the documentation use the structure where singlePackage
= true. I have not been able to find an example of deploying with singlePackage
= false.
Given that the default value (at least in workbench) is false, I would like to understand what file structure is expected in order to successfully deploy using singlePackage
= false.