https://netsuiteprofessionals.com logo
s

Stephane

05/02/2022, 3:58 PM
Hello, I wanted to get some of you guys' opinion on best structure/practice for SDF projects. Should an SDF project contain a whole NetSuite account's customization, or would you rather have a separate project for each customization? Also welcoming other suggestions. Thanks
r

Ramanand Dubey

05/02/2022, 4:16 PM
I would prefer separate SDF project for each NetSuite account customisation.
s

Stephane

05/02/2022, 4:31 PM
Thanks @Ramanand Dubey and what kind of naming convention would you give to the projects? For example if later down the road, there needs to be a feature added or code change. Something that would allow the original developer, or another developer to find which project/script file?
r

Ramanand Dubey

05/02/2022, 4:48 PM
I would prefer project name as company name which you are working name. For example: Client company Name:Facebook Your company Name: Websuite Global Then naming convention should be like this Project Name: Facebook Script Name:WG_ScriptName_ScriptType.js
s

Stephane

05/02/2022, 4:51 PM
I see, and new scripts for the client Facebook will then be added in the Facebook project as well?
r

Ramanand Dubey

05/02/2022, 4:55 PM
Yes , You should include all old and new scripts in suitescripts folder inside Facebook project.
s

Stephane

05/02/2022, 5:44 PM
lastly, in that case, is there a way to deploy only certain features or you would have to deploy the whole project everytime?
c

Cory Weiner

05/02/2022, 7:53 PM
I keep one big SDF project for all of our account customizations, and then modify the deploy script to only deploy those objects needed
👍 1
m

michoel

05/02/2022, 10:44 PM
As an end user / in-house dev I imagine our setup would be different from consultants that manage multiple accounts and it would also depend on how heavily customized the accounts are. I'm working on a set up where I can have a single project in git/vscode/webstorm with subfolders for each SDF project. I have a small vscode extension in the work to help with toggling between active projects. https://github.com/michoelchaikin/suitecloudplusplus. I hope to publish something on the setup at some point
👍 1
r

Ramanand Dubey

05/03/2022, 3:19 AM
@Stephane Yes, You can deploy certain object or certainly script instead of deploying whole project.
s

Stephane

05/03/2022, 4:05 PM
@Ramanand Dubey this would be by right clicking on the specific file/object/folder and then Deploy to Account correct?
r

Ramanand Dubey

05/03/2022, 4:23 PM
Yes or you can also do this by using command pallet.
Control+shift+p
Select Suitecloud: upload file
👍 1
5 Views