This topic contains 4 replies, has 0 voices, and was last updated by corey 11 years, 4 months ago.
-
AuthorPosts
-
July 10, 2013 at 4:10 pm #4786
John.EllisIs it possible to change environments easily using the IDE? At this point, I’m stuck removing and re-adding accounts to switch from the sandbox to production.
Thanks,
J
This is a cached copy. Click here to see the original post. -
July 10, 2013 at 4:30 pm #4787
jerry_dRE: Environment Switching
right click on your project
select Netsuite _> change project settings
a dialog comes up — you can pick prod or sandbox or whatever you have set up and this changes where your code will be deployed to/pulled from.
hth
Jerry
-
July 11, 2013 at 8:24 am #4788
coreyIf you have different accounts you are dealing with then go to NetSuite->Manage accounts, add the ones you are dealing with.
Then, you can create multiple projects with different environments using the method Jerry describes. I currently have 3 running.
-
July 11, 2013 at 8:27 am #4789
John.EllisRE: Environment Switching
Okay – so what you’re saying is I have to have a project for each environment and then copy/refactor the code for each instance. I do a pretty good job of keeping our sandbox up to date and replicate production often, and would like to just use one project and switch environments so that I’m not having to maintain multiple copies of the script – is that possible?
-
July 11, 2013 at 8:48 am #4790
coreyYou could change your environment for your project. Just do like Jerry suggests.
I always just delete all the files in my sandbox project after a refresh, right click on the sandbox project and go to NetSuite->Download File(s) to Project. I like having separate projects so I can visually see differences in code.
I don’t tend to bundle to move the files over to the live account, however as bundles put my scripts in their own folders in the document library and that messes up my folder feng shui. So I end up manually copying the files I create/modify in the sandbox project to the live project and that is kind of a drag, so I feel your pain, on that.
-
AuthorPosts
You must be logged in to reply to this topic.