Table of Contents

Data in 2sxc

2sxc has a lot of powerful features to help you do amazing stuff, but it all starts with data. This section/guide should help you get familiar with the basics of data in 2sxc.

you are here (click to zoom) - discover the stack

There is a lot of magic happening in the background to:

  1. Ensure that a template (usually Razor) gets the correct data by default
  2. Give your code access to all kinds of Settings and Resources
  3. Provide APIs to let you retrieve any necessary data

Best Start with Tutorials

Discover More in the Razor Tutorials

We have an rich series of Razor tutorials. You should really check them out 👍.


Kinds of Data

Typically the system will have these kinds of data:

  • Data based on Entities (items from the current App)
  • Configuration / Global data such as Settings and Resources
  • Context Data such as the current User, the current Page, etc.
  • External data retrieved from SQL, CSV, SharePoint, etc.

Where Data Comes From

Data for your Code can come from various sources. Read about Where Data Comes From.

Data Objects: DynamicEntity, TypedItems and Entity

It helps to understand the difference between Dynamic Entities and Entities.

APIs and Conversion Commands

Read about it in Dynamic Code API

TODO: MORE