Content Apps
You can add Content Apps to your types. You can use these to display other information related to them. For example you could display the payments done with a voucher. Of course these data has to come from a custom database.
Adding a Content App
To add your content app you need to create a class that inherits from IUiomaticContentAppFactory
.
The GetContentAppFor
method will get the type being loaded in UI-O-Matic. You can use this type to check if your app needs to load.
Creating your content app view
On the previous step you configured your content app to display a view on /App_Plugins/ContentApps/voucherHistory.html
.
For this view to work you will need to use a controller.
Controller:
You can get the id of your item from editorState.id
Last updated
Was this helpful?