Sandbox version for testing

How do I create a sandbox version of my app for development and testing? Right now all changes are live. It was fine when I just had a couple users, but now that Iโ€™ve added more I need to be able to develop and test without disrupting workflow.

0 11 759
11 REPLIES 11

@Eric_Silver
You can do it with creating a Stable Version of your app via Manage > Versions and assigning this version to your app users via Users pane.

It this features available only for Business Plan? Or can I use it for my PRO plan app?

@Vlad_Roman
Iโ€™m afraid versioning control needs a Business Plan.

When Iโ€™m done with developing and testing how do I make that the new Stable version?

Is there a tutorial on how this works exactly. Not the process of changing users access but what is actually happening in your app stable vs developing? Iโ€™ve been going about this the wrong way for a few months now and I am finally going to get organized.

I have a deployed app now and have been continuing to tinker and develop โ€œon the flyโ€ taking the risk that my users might see a broken app from time to time before I can fix the conflicts I created. Iโ€™ve been lucky so far but am ready to make some pretty big changes.

Need a Best Practices on how to lock in the stable app, continue to develop and then upgrade everyone to the new version. Also, what happens if I decide to scrap all of my development and go back to stable version?

Donโ€™t expect a lengthy answer here, maybe just a link to a video, office hours post or article on the topic. Thanks!

TLDR:
If you have to change the tables in any way it is recommended to make a whole copy of the app. This is as far as I have found the only way that tinkering in a latest version can break what is occurring on a stable version. In essences the stable version is a copy of the app that is held completely separate from your latest version. This is why changing the data source can still affect a stable version since that version pulls from the data source and needs to be kept correct.

Side note:if you are only ADDING columns, not deleting or renaming, you are TECHNICALLY safe from breaking your stable version still unless those new columns are required in some form to not break other defined columns in your data source. IE if youโ€™re using a database and you have a not null column that doesnt have an autofilled value you canโ€™t add that column without breaking the stable version.

(None of this applies to non business/enterprise/whatever its actually named account tiers, make a copy of the app and the data sources to tinker)

Looks like we posted responses at the same time and you are suggesting the same process. Thinking through it, this brings up another issue. Any changes, edits or new records created in the current version will not be made in the development copy. Either best to do all of your development during a period of inactivity or be conscious of all edits/new records in your new version.

Ya you would want to take the upgrade live during a time of inactivity or use the pause app in manage-deploy(dont know if this is a business feature). Itโ€™s definitely slightly tricky but when you do an upgrade it prevents syncs from the old version so that helps prevent users from thinking data was added when it wasnt.

It looks like this only works on the Corporate plan. I am on the Premium plan. Any other ideas on how to do this?

Mike_T
New Member

OK. Once again I requested too soon and leapt before I looked. After reading the versions tab under the Manage section, I think I have a better picture of the process. Please correct me if Iโ€™m wrongโ€ฆ

  1. Must have Corporate Account to create โ€œStable Versionโ€. Otherwise, all users see Latest Version at all times.
  2. You can replace current version using an entirely different or upgraded app by using the App Upgrade section on this page. Iโ€™m assuming this can be an entirely โ€œnew appโ€ with completely different data source (screenshot below).
  3. If your app is white-labeled and already available in the app stores, you have to update versions on the Deploy>White Label page?

My guess for Premium or Pro account holders on best practice is to:

  1. copy current app (include copy of data source).
  2. Make edits and changes as desired
  3. Use the Upgrade area to overwrite current version

Questions: do you lose your current version when you overwrite/upgrade? If so, maybe best to make two copies?

Iโ€™m seriously making this up as I go, so if any professionals would like to chime it, would be greatly appreciated.

Thanks,
Mike

1.Yes.
2.Yes you could literally take one sample app and upgrade it to another sample app with no shared anything between them.
3. No idea on white label anythings, sorry.

No you keep all previous versions when upgrading. You would have to manually change your data sources back to their definition that they were in the previous version if you revert to a previous version.

Top Labels in this Space