This version of the Ed-Fi Dashboards is no longer supported. See the Ed-Fi Technology Version Index for a link to the latest version.
Plugin Architecture - v1.4 Enhancements (Code Snippets)
Enhancement | Description | How to View the Enhancement in the Dashboards |
---|---|---|
Action Filters | Enables the creation of a Plugin Context class that can be populated on each request and shared by all of the modules in the plugin. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
EdFiControllerFactory Area Registration | Makes both non-Area and Area controllers available when an Area-based request is made, as well as ordering the plugin, apps, and core controllers correctly. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Embedded Image Provider | Makes plugin embedded images available at the URL @Url.Content("~/PluginContent/Your.Plugin.Name/Images/your-image.png"). To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Embedded Resource Provider | Supports plugins' ability to include scripts and style sheets as embedded resources. The embedded style sheets and scripts will be automatically included in the site layout page. Special instructions apply for this plugin. Plugins that embed style sheets and scripts to be included in the site layout page will create an Installer class that inherits from WebDefaultConventionInstaller and overrides the Install function. The plugin's Install function will only call base.Install if the Plugin conforms to the conventions in the Plugin Embedded Providers, and its CSS and JavaScript code does not override the default Dashboard Styles and Scripts. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Metric Template | Allows plugins to override existing, and create new, metric templates. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Multiple Security Hierarchies | Allows plugins to create alternate security hierarchies. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Plugin Area Registration | Enables the ability for plugins to create new ASP.NET MVC Areas. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
Plugin Configuration Specific Registration | Allows the plugin to provide configuration (e.g., Debug, Release) specific IOC registration installers. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). In addition, you will need to add the following snippet to the
|
|
Plugin Extensions | Allows plugins to have extension assemblies in the same way that Core Dashboard Assemblies may be extended. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). There is one additional project that you will need to add to your Visual Studio EdFi Solution in the EdFi.Dashboards.Plugins.Extensions.HelloWorld.Web folder. |
|
Plugin Security | Enables plugins to create their own Claim types, and use them to authorize Service calls. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). In addition, there are 5 Projects that you need to add to your Visual Studio EdFi Solution. The projects to add include a non-Plugin Security Extension project called EdFi.Dashboards.Extensions.Resources.Security, that contains a new HelloWorldClaimSetBasedClaimsProvider class. The EdFi.Dashboards.Presentation.Core and EdFi.Dashboards.SecurityTokenService.Web projects both need to reference the new Security Extension project. The EdFi.Dashboards.Presentation.Core |
|
Registration Assembly Scanning | Enables plugins to register Domain Metric Controllers. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
RTF Result | Allows plugins to export data in Rich Text Format. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|
User Entry Providers | Enables custom Home Pages for particular user types to be defined in a plugin. To use this plugin feature, follow the standard plugin build and deployment instructions (view source code). |
|