2sxc 12.02 introduces ca. 30 long awaited features and more Hybrid APIs for cross-Dnn/Oqtane Apps.
Highlights
- Views can now have their own Settings, Resources, custom Identifier and Icon
- Global
Settings
and Resources
object automatically merges View- and App-Settings
- ...using the new
IDynamicStack
object #2442 docs
- Major enhancement around DNN Search
- Improvements on Formulas
- Cross-Platform (hybrid) solution for setting page-titles, headers etc. (Dnn/Oqtane) #2433 docs
- Cross-Platform (hybrid) solution for activating browser features like jQuery
Hybrid Cross-Platform Page Control with IPageService
Since 2sxc Apps are meant to work on both Dnn and Oqtane, there is a unique challenge to bridge the differences of these platforms. For example, setting a header in Dnn uses very different APIs than in Oqtane.
To make this possible we're introducing the IPageService. The Razor code can then just request this service, tell it what changes are needed and the rest happens in the background. Use this for things like:
- Change Title, Description or Keywords
- Add Meta-header so the page or any other HTML
- Add Open-Graph headers
- Add JsonLD headers
We've also created extensive documentation for the IPageService and tutorials as well.
View Enhancements
- Entire Edit-UI is now much simpler thanks to formulas
- Ability to set the Icon on a View #1724 and also #2430
- Ability to create View-Resources and Settings
- Dnn Search: A view can now be configured to be non searchable #2436
- Dnn Search: A view can be configured to only index certain streams #2438
- Dnn Search: A view can configure a separate
.cs
file which contains search-index logic #2435
👉 Read more about this in the Blog Post on Views and in the Docs
Formulas Improvements
- The data object now also das a
data.initial
which contains the value in the field when the form was loaded #2429
- Context has an info
context.debug
which is true if the UI is in Debug-Mode #2428
- Standardized how to handle date-values #2446
- Performance Optimizations
👉 Read about this in the Formulas Docs
Razor / C# Enhancements
- New IDynamicStack object allows retrieving properties from multiple entities at once to stack settings/resources docs
- New
Settings
and Resources
properties use this to stack View and App Settings/Resources
- The
CmsContext
now has a View
property which gives some basic View infos like Name, Identity etc. docs
AsDynamic
now has an overload allowing multiple entities which will return an IDynamicStack
- New
IPageService
lets Razor broadcast changes to the page title/description/keywords and also set headers etc. cross-platform #2433
Other
- Performance optimizations how DynamicEntities are created
- Text fields can now also show as monospace font #2439
- Content-Type and View-Icons can now use the placeholder
[App:Path]
to reference files in the App Folder #2430
- Create/Rename fields now blocks names which can cause trouble like
Created
#2445
- Field-Edit UI now shows old String-field configurations which affect the field and allows flushing #2427
Oqtane
In 12.02.01 we also got 2sxc to run on Oqtane 2.1 and created a short checklist for upgrades.
Hope You Love It
Hundreds of hours of work were put into developing this - and documentation!
Please leave some nice comments to show you care!
Then proceed to download on the github releases
Love from Switzerland and Croatia
iJungleboy, Tonci, Petar