I'm attempting to learn the best way to work in a sandbox environment and move my changes back and forth from production and sandbox. Bundles seemed an obvious and elegant solution but I've already run into some problems. I couldn't find a "best practices" for customizers using sandbox accounts.
In my first test this is what I did to get an existing object from production to sandbox and then back again. I hope there is a better way.[LIST=1]
[*][prod] Create bundle named "MyMiniProject - Prod>SB"
[*][sandbox] Install above bundle
[*][sandbox] customize, tweak, tune, etc
[*][sandbox] create bundle (including re-selecting all the objects to make it just like "MyMiniProject - Prod>SB") and named it "MyMiniProject - Sb>Prod"
[*][prod] installed "MyMiniProject - Sb>Prod"[/LIST]This works, but I have the following problems:[LIST=1]
[*]Creating a second bundle to get the changes BACK to production is problematic. In my test I had a single saved search, but I could have just as easily had 10 forms, 4 scripts, some records, lists, searches, etc. Re-creating a duplicate bundle is just... well, it's stupid, error prone and a waste of time. I hope I'm missing a better way?
[*]I can't delete the bundle on production. I created it to exchange data and changes, but I'd like to bake it into the account and remove the bundle, otherwise our account will get littered with "helper exchange bundles" as I move back and forth.[/LIST]After typing that I thought "Well, I'm not sure how else they COULD handle this..." (that's me calming down, BTW) I suppose a couple of functions would make most of the issues go away:
[LIST]
[*] Duplicate a bundle (and maintain a link so source bundle changes can propagate to shadow)
[*] Ability to "bake" or commit a bundle to an account.[/LIST]
I realize that I could partition ALL my customizations into legitimate, logical bundles and leave them in place however that's a seriously large task and not something I'd like to do.
How do you all move your work between accounts? I'm talking just scripts, that's easy but objects. Am I doing it right? Any tips or tricks?
Deep breath....