function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
trick9trick9 

Sandbox Question

Hi Guys,

 

1) What is the difference between clean sandbox and full copy of production Sandbox.? When should one use full copy sandbox.

 

2) If we are working for two groups of users in the sandbox.Will we be able to move code for two different set of users to the production .I mean how are we going to differentiate which code belongs to which user so that we can migrate.?

 

3) Is it ok if we have two different sandbox for two different groups of users.once we have completed all the work in Sandbox then we move them to the production.Are there going to be any complications in doing this. Will be able to migrate without any problem code from two sandbox to the production.

 

Can somebody please answer these questions?

 

 

 

bob_buzzardbob_buzzard

A full copy sandbox has an exact copy of the production data at the time of the sandbox refresh, whereas other sandboxes will only have the configuration but no data.  A full copy sandbox is useful as a pre-production environment, where code changes can be tested against real data. 

 

If you use change sets to migrate the code changes, you simply need to get the users into the habit of adding everything that they create into the change set.  I'm not aware of any tools that will allow you to package up changes by user.  It gets more tricky if the users have both had to edit the same piece of code (a trigger that affects both of them for example) - in that case you wouldn't be able to deploy the changes individually.

 

You can certainly migrate changes from two separate sandboxes to production.  The complication is if changes from each sandbox conflict with each other (e.g. page layouts, apex classes etc).  In this case the last one to deploy would overwrite the previous one.