App Configuration
Every App has a Configuration Entity which describes things like
- App Name
- App Version
- Folder (within the 2sxc-folder)
- Minimum version of Dnn needed for the App to work
- Minimum version of 2sxc needed for the App to work
- etc.
Edit App Configuration
This is where you can find the App Configuration
On 2 you can configure the permissions you need:
- Display Name
The name shown in the app-picker for the content-editor. It is also used to name the ZIP-package if you ever export the app. - Description Just an informative description
- Version
A version number, will also be used in the package-name when exporting - Folder
The folder within the [portal]/2sxc/ where all the templates, javascripts and other assets are stored. If you touch this, remember to rename the folder as well. - Allow Token Templates
Just a yes/no if these are allowed in this package. At the moment it has no effect, just for your own information. At a later time it may prevent certain templates from working if disabled. - Allow Razor Templates
Same as Allow Token Templates. - Original Id
A (optional) guid of the original App which was used to generate this current App. This is only important, if you reset the App-Guid when exporting it; it will help show the correct Getting-Started in the App even if the App-Guid was reset. - Required Version (added in 08.03.03)
Is used to check if the app can run, or otherwise warn the user. It will use the .net version compare.
Example value: "08.03.00" - Required DNN Version (added in 08.03.03)
Is used to check if the app can run, or otherwise warn the user. It will use the .net version compare.
Example value: "07.02.00"
Difference App Configuration / App Settings
The App Configuration is a system Entity and 2sxc needs it for the App to work properly.
The App Settings can contain any information you configure it to have, and the values are only used in the App itself.
Use in C# Code (Razor / WebAPI)
Most of this information is available on the App
object, like App.Path
. Read about the C# API here.