cancel
Showing results for 
Search instead for 
Did you mean: 

SUP - Data Migration and MBO changes?

Former Member
0 Kudos

Does SUP have any kind of data migration functionality.

Let's say we make a change to an MBO (additional field), and we submit an iOS update that includes the new generated code.

Currently the application crashes in this case, and the user is forced to delete the app and reinstall in order to be able to run the application again.

  • So is there a way to detect mbo changes?
  • Is there a way to migrate the data to match the new data structure?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

one thing you can try is using Exception Handling:

add a try-catch block around the line which causes the CRASH...and check for the error....if its a Typical error(an error which occurs only when the data is migrated) you will know that it is due to MBO migration...

rakshit_doshi
Active Contributor
0 Kudos

Hi Aryan,

Yes Data Migration is possible

If you are adding a new field to the MBO , first you have to delete the old package from the Server either from the Workspace or directly from the SCC and then redeploy the package and then generate a new code.

Once you incorporate the new code in the application make changes if any you want to make in the application and then send the updated application on the device. It will reinstall the application and it will work as you want.

We have tried this on Android and Ios and it has worked,

Hope this helps,

Thanks,

Former Member
0 Kudos

Hi,

Did you try to redeploy your MBO package into the SUP server. Usually, you want the changes to the Generated Code to be done on the SUP server package.