Watch the recording of our session at DNN-Connect: How to use various APIs in JavaScript, be it REST, CMS-Commands, Toolbars, Visual Queries and more.
Here's the Video
Video Contents
You can download the PDF here: DNN Connect 2017 - Go Pro with 2sxc JS
Core Transcript
- Background: JavaScript is ruling the entire web world
- Developing JavaScript in 2017 with TypeScript etc. and why Promises and two-way data-binding are dead
- REST - what it is, and how to use it with 2sxc
- Using REST with a visual-query and the resulting JSON
- How to get the real root-url to access the REST API
- Accessing the REST from non-DNN sites
- Setting security for read/write access
- Using the AngularJS services (for Angular 1.x)
- Creating your custom WebAPI Endpoints using C#
- CMS Actions in JavaScript, like edit, new, etc.
- Calling these actions with parameters like prefill={...}
- Creating custom buttons with custom actions
- Creating custom toolbars with various alignment settings and more
- Configuring such a toolbar using JSON both in C# and JavaScript
- Using $2sxc and the context-aware sxc-controller
Love from Switzerland,
Daniel