Skip to main content
Home  ›  Docs

2sxc Documentation

We are currently re-working the documentation structure. The new structure will be:

  1. API documentation for Razor/C#, JavaScript (incl. $2sxc and $cms), WebServices, Edit-UIs etc. will be found on the 2sxc wiki.
  2. Features-documentation will be found on this page
  3. Learning tutorials and concepts will be in Learn
  4. Blogs, examples etc. are of course in Blog

Features of 2sxc with Details and How-To-Use

Filter by


With the new DataSource called App you can retrieve data from another App. For example, you can query a References-App from another Portal to show the same references again. added-06.01.00
Tags
Apps Data and Data Sources For experts Razor new in 6.x
The user can choose whether he wants to add an item to a list and immediately show a demo-record (with the [+] button), or just open a dialog which doesn't add anything if he cancels. added-05.05.01
Tags
Apps Entities Lists Lists with Details new in 6.x
Various features of Apps like the Required (DNN) Version or Path ar explained here added-06.00.00
Tags
Apps DNN/DotNetNuke new in 6.x new in 8.x
Using the App-Object you can access path information, settings and resources. added-05.05.00
Tags
Razor Token Apps new in 6.x
Now apps can use centralized settings and multilingual resources for their templates. Works with tokens and razor. added-06.00.00
Tags
Apps For experts Multi-Language new in 6.x Razor Token
Now you can easily get all Categories with App.Data["Category"] or all questions with App.Data["Question"]. You can also use this as the input for further filtering, sorting and more. added-06.01.00
Tags
Apps Content Types Data and Data Sources Database Entities For experts Lists Multi-Language new in 6.x
Using simple server-side commands, you can create entities, edit and delete them in code. Thanks to this feature, you can create your own edit-dialogs or partial dialogs for workflows and similar. Also create simple or complex feedback forms and more. added-06.05
Tags
Apps Entities Razor new in 6.x Database For experts WebApi
Supports placing all data in the module into the DNN-Search. This works for simple items (like title/text/image) as well as for lists. The special feature is that it allows you to change how the index works. You could specify an alternate (detail-page) url for each item. added-06.02.00
Tags
Apps Data and Data Sources Entities For experts Razor new in 6.x Lists Lists with Details Search
Now you can easily add any kind of data to the pipeline with the DataTableDataSource. This is great for adding XML, RSS, NoSQL sources, Resx-files and much, much more. added-06.00.06
Tags
Apps Data and Data Sources Database Entities For experts Import/Export Lists Lists with Details new in 6.x Razor
All data (entities) are versioned automatically and can easily be restored whenever you need a previous version. added-06.00.00
Tags
Data and Data Sources Database Entities new in 6.x
To keep things nice and separate data-preparation from data presentation we added a method called CustomizeData(). This is always called before the template is processed - for showing, for JSON delivery and for search-indexing. added-06.01.00
Tags
Data and Data Sources Database For experts Razor new in 6.x Lists Lists with Details Search
This can now be done in code. added-06.01.00
Tags
JavaScript Razor new in 6.x
You can now specify if the user should see a file, page or image-picker, and which one is default. added-05.04.00
Tags
Field Configuration Linking Images new in 5.x new in 6.x
When installing Apps or anything else, everything is done automatically and DNN doesn't need to restart. This is very powerful because in a live large system - downtimes and I-Hope-It-Still-Works-Afterwards are not acceptable. added-06.00.00
Tags
Import/Export new in 6.x Apps
With InstancePurpose your code knows if it's running to be templated, for publishing JSON data or for search indexing. added-06.01.00
Tags
Apps Search new in 6.x Razor
You can use strongly typed data sources with safe configuration to supply your templates with any data you need. added-05.00.00
Tags
Apps Content Types Database Entities For experts Razor new in 5.x new in 6.x Data and Data Sources
Use simple HTML-tags or javascript to create inline or hovering add and edit-buttons added-06.00.00
Tags
HTML and CSS JavaScript Token Razor Apps new in 6.x New in 7.x new in 8.x
Now you can user @RenderPage to call other Razor-Scripts, and these scripts automatically receive the save Content, List, Presentation etc. variables to work with. This allows you to re-use partial templates. added-06.00.00
Tags
Apps new in 6.x Razor Linking
You can easily use PetaPoco in Razor Templates with DNN and 2sxc. added-06.00.06
Tags
Apps Data and Data Sources Database For experts Razor new in 6.x Import/Export
Sometimes you want to pre-fill a new Entity with existing information - like the current date, the users name, or data from another list like a file-ID or infos from an XML-Stream. This is now possible. added-05.05.01
Tags
Entities Lists Lists with Details Apps new in 6.x
It was always possible to use SQL data before, but with the new data sources it actually is fun to use and fully integrated. added-06.00.06
Tags
Apps Database Data and Data Sources Entities For experts Lists Razor new in 6.x
Tokens offer a way to use default-values if a token is empty. Ideal for queries or simple texts like "Name Unknown". added-06.00.00
Tags
new in 6.x Token Query (Data/Visual)
Now any view can have a name in the URL - so that a module showing that App can easily change between views just by adding "Details" or "CategoryList" to the URL. Simple and powerful. added-06.06.00
Tags
new in 6.x For beginners Token Apps
Thanks to the fully automated WebAPI integration you can easily include and distribute your WebAPIs with you Apps. added-06.05
Tags
Apps For experts Import/Export JavaScript new in 6.x WebApi Razor Token