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

Creating a Content Type

Creating a Content Type

Once you have defined a Data Connector, you can expose data from it. This is done by creating a content type based on the Data Connector.

The content type exposes a single table from your data store.

You can define as many content types as you need in your app. Go to Data > Types and click the Create Type from a Data Connector button at the top.

Create a Content type initial screen

For each content type, you can choose the fields (columns) you want to expose.

Tables with a single-column primary key (PK) are mapped automatically to a field called Id. In order to create a content type from a view or a table without a primary key or from a table with a multi-column primary key, it is required to manually map one of its columns to an Id field. In this case the content type is created as read-only and write operations are not possible.

Create Type From a Data Connector to Salesforce screen

Read-Only Fields

The read-only setting is one of the advanced settings available only for fields of content types from Data Connectors. It can be set from the Telerik Platform Portal or using the RESTful API or the .NET SDK.

Specifying a read-only field for Salesforce screen

Fields marked as read-only are completely excluded from any further transactions between Telerik Platform and your data store. Their values cannot be modified by anyone independent of the user role or the authentication mechanism.

You will need a read-only field in these situations:

  • Mark a field mapped to a column calculated by a database trigger to be sure that it will not be modified by someone else
  • Mark a field as read-only to forbid the modification of its column from this content type

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.