Curious question for the masters of sdf here, what...
# sdf
e
Curious question for the masters of sdf here, what is the main advantage of using sdf over bundles for customizations/suiteapps? Most of the times I see a lot of issues reported when trying to create stuff using sdf. Is there a specific reason to choose sdf over bundles?
s
to me probably the biggest reason is lack of control. Bundles rely on some other nebulous netsuite account and the details of the bundle cannot be version controlled. SDF gives us a text file representation which can be versioned, and even diff'd in most cases. Being able to version your customizations in the same repository as your code is a big step towards improved software configuration management.
💯 2
Secondarily, bundles installed into their own unique numeric folders - we typically develop in subfolders of SuiteScripts so the mismatch is another big minus in my book.
💯 2
i.e. with SDF files generally get deployed to the same location on your development environment as on production.
🙏 1
Third, SDF supports command-line operation which makes it possible to automate deployments with CI/CD tooling - both the deployment content (deploy.xml) as well as the physical deployment can be automated.
💯 3
For all these reasons (and more) I avoid bundles for anything SDF can do instead.
💯 1
e
Ha! Very interesting insights @Shawn Talbert Thanks for sharing!
d
What @Shawn Talbert said