The Telerik Platform product is retired.Learn more

Getting Started with Data

Getting Started with Data

Using the data store provided by Telerik Platform begins with creating a content type. Content types are sets of data items that have a similar structure.

By creating a content type you are also defining a RESTful service layer that you can consume in the client app. The JavaScript SDK wraps the RESTful layer to help you consume data more easily and with fewer lines of code.

In this article you will learn how to create a content type in Telerik Platform and how to connect a JavaScript app to it.

Steps at a glance:

  1. Create a Content Type
  2. Add Fields
  3. Create Your First Data
  4. Get the App ID for Your App
  5. Add the SDK to a New or Existing Project
  6. Initialize the Everlive Instance
  7. Connect to Your Data


Create a Content Type

Open your Telerik Platform app and navigate to Data > Types. Click the Create a Content Type button.

Create types overview image

Add Fields

You will see the Create a content type dialog. Enter a name for your content type, for example Places.

Each content type has predefined fields in its structure for better administration of the data. You can extend the structure of a content type with additional fields. When you finish defining or editing the structure of a type, click the Save button. You will see the data browser screen for the newly created content type.

Create a content type and fields image

Create Your First Data

You can create your first data item directly from the UI portal. Ensure that the data browser is showing your newly created content type and then click the Add an Item button. Fill in the input fields on the right. Click Save when you are ready.

Create a data item image

Get the App ID for Your App

The App ID is the unique identifier of your Telerik Platform app. You can find it in Settings. It is needed to connect your client app to your Telerik Platform data store.

Get the App ID of your App

You are now ready to connect your client app to data using the various Backend Services client SDKs.

Add the SDK to a New or Existing Project

Add the following statement to reference the SDK in the index.html file of your project:

<script src="">

You can learn about the other ways to install and manage the SDK in your project from this documentation article.

Initialize the Everlive Instance

The Everlive object connects the client app to a Telerik Platform app. Initialize it in the entry point of your application in the following manner:

document.addEventListener("deviceready", function() {
    var everlive = new Everlive({
        appId: "your-app-id",
        scheme: "https"

Connect to Your Data

The following snippet retrieves all items from the specified content type. Use this code after the deviceready event has been called.

var places ='Places');

places.get(null, function(data) {
}, function(err) {

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.