Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Move Code or Data Between Apps

At any time, you can duplicate code or data between the apps within an account. When you duplicate backend data, you always duplicate the full set, including Data, Users, Notifications, and Business Logic.

In this article:

Prerequisites

  • Verify that you have selected Telerik Platform at https://platform.telerik.com and you have provided your login credentials at the Login to Telerik Platform page.
  • Verify that you have switched to the account in which you want to duplicate code or data.
  • Verify that you hold the Administrator or Developer role for the account.

Duplicate Code

Duplicate via Archive

  1. Export the code as archive.
    1. Verify that you are on the Telerik Platform home page.
      To return to the home page, click your account name in the breadcrumb in the top left corner.
    2. Click the Apps tab.
    3. Click the gear icon next to the app name and click Export Code.
  2. Prepare the exported app for importing.
    1. Unpack the zipped archive locally.
    2. Open the unpacked archive.
    3. Navigate to the directory which contains the .ABPROJECT file.
    4. Zip the contents of the directory.
  3. Verify that you are on the Telerik Platform home page.
    To return to the home page, click your account name in the breadcrumb in the top left corner.
  4. Create a new empty app in which to import the archive.
    1. Click Create app.
    2. Choose the type of the app that you want to create. The type must match the type of the exported app.
    3. Provide a name for the new app.
    4. (Optional) Provide a description for the new app.
    5. Click Create App and wait for Telerik Platform to open the code for the app.
    6. In the Project Navigator, select all files and folders except cordova.js, Plugins, Properties and App_Resources, right-click, select Delete and confirm.
  5. Import the archive.
    1. In the Project Navigator, right-click the second node from the top.
    2. Select AddFrom Archive.
    3. In the file browser of your system, browse and locate the archive that you want to import.
    4. Drag the selection and drop it in the drop files here to upload text box.
    5. Click Upload.
    6. Confirm that you want to continue.

Duplicate via Version Control

  1. Verify that you have pushed the latest changes of your app to a remote repository.
  2. Verify that you are on the Telerik Platform home page.
    To return to the home page, click your account name in the breadcrumb in the top left corner.
  3. Click Create app.
  4. Click Advanced.
  5. Select Clone repository.
  6. Provide the clone URL for the remote repository.
  7. Provide a name for the new app.
  8. (Optional) Provide a description for the new app.
  9. Click Create App.

Duplicate Data

  1. Duplicate the app structure and settings.

    This creates a duplicate app that contains the assets and settings listed in Export an App but excludes any content type items.

    1. Verify that you are on the Telerik Platform home page.
      To return to the home page, click your account name in the breadcrumb in the top left corner.
    2. Click the Apps tab.
    3. Click the gear icon next to the app name and click Duplicate data.
  2. Duplicate the app data:
    1. Use the RESTful API or the JavaScript SDK, .NET SDK, iOS SDK, or Android SDK to read all data from the content types of the app that you are duplicating.
    2. Use the RESTful API or the JavaScript SDK, .NET SDK, iOS SDK, or Android SDK to create new items in your duplicate app based on the data that you read in the previous step.

When reading the Users system content type keep in mind that the Password field cannot be read. Consequently, when you copy the data to the duplicated app, you users will not have passwords.

Next Steps

Continue development.

See Also

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.