Logo
Logo
  • Blazor CMS Home
  • Oqtane Tutorials
  • Blazor CMS Home
  • Oqtane Tutorials
Oqtane Tutorials
Oqtane Tutorials

JavaScript Tutorial

Tutorial Home › JavaScript
Use the 2sxc JS API to get Data
#2 Use the sxc data API to create/edit/delete data
Use the sxc data API to create metadata
The samples can differ based on your Razor base class or if you're running an old version.
Switch to Typed (2sxc 16+) Switch to Dynamic (Razor14 or below)
Requirements
  • 2sxc 7.00
Resources
  • JS 2sxc APIs
  • JS sxc.data Service
  • JS sxc.query Service
Related
  • turnOn Tutorial
  • WebAPI Basics: Call WebAPIs and REST using JavaScript

Use the sxc data API to create/edit/delete data

This page uses the sxc data API to create data for the backend.

In this tutorial you'll learn how to:

  • Create data using the .create(...) method
  • Update data using the .update(...) method
  • Delete data using the .delete(...) method

Look at the content below to see the effect.

 

Use the 2sxc JS API to get Data
#2 Use the sxc data API to create/edit/delete data
Use the sxc data API to create metadata
  • 2sic internet solutions
  • Langäulistrasse 62, 9470 Buchs SG, Switzerland
  • +41 81 750 67 77
Login