The requested page is not available for the requested platform. You are viewing the content for Default platform.

How to: Create a Simple Custom Item for the ASP.NET MVC Dashboard Extension

  • 4 min to read

This example shows you how to create a simple custom item displaying a list of dimension values. This item can be filtered by other master filter items and also contains one custom property that specifies whether to display the field header caption in the list.

To learn more information about the custom item creating, see Custom Item Creating.


<!DOCTYPE html>

    <meta charset="UTF-8" />

        new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
        new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
        new StyleSheet { ExtensionSuite = ExtensionSuite.Dashboard }
        new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
        new Script { ExtensionSuite = ExtensionSuite.Editors },
        new Script { ExtensionSuite = ExtensionSuite.Dashboard }
        function onBeforeRender(sender) {
            var dashboardControl = sender.GetDashboardControl();

    <div style="position: absolute; top: 0; bottom: 0; left: 0; right: 0">
    <script src="scripts/customExtension/icon.js"></script>
    <script src="scripts/customExtension/meta.js"></script>
    <script src="scripts/customExtension/viewer.js"></script>
    <script src="scripts/customExtension/customExtension.js"></script>