Masterpage: Enabling a Custom Masterpage to work with the Akumina Widget Framework - akumina/AkuminaTraining GitHub Wiki

Applies to

Digital Workplace 3.3.0.0 and later

Overview

After the Akumina Foundation Site is deployed to a SharePoint Site, Custom Masterpages on that site can be enabled to use Akumina Widgets as long as the following references are added to the MasterPage between the </head> and <body> tags of the masterpage.

<!--MS:<SharePoint:ScriptLink ID="ScriptLink1000" Name="~sitecollection/_layouts/15/MicrosoftAjax.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!-- DIGITALWORKPLACE JS FILES -->
<!--MS:<SharePoint:ScriptLink ID="ScriptLink1099" Name="~sitecollection/Style Library/DigitalWorkplace/js/digitalworkplace.vendor.min.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!--MS:<SharePoint:ScriptLink ID="ScriptLink103" Name="~sitecollection/Style Library/DigitalWorkplace/js/digitalworkplace.vendor-nomin.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!--MS:<SharePoint:ScriptLink ID="ScriptLink1098" Name="~sitecollection/Style Library/DigitalWorkplace/js/digitalworkplace.min.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!--MS:<SharePoint:ScriptLink ID="ScriptLink10942" Name="~sitecollection/Style Library/DigitalWorkplace/js/digitalworkplace.shippedsite.min.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!--MS:<SharePoint:ScriptLink ID="ScriptLink10943" Name="~sitecollection/Style Library/DigitalWorkplace/js/digitalworkplace.custom.js" runat="server">-->
<!--ME:</SharePoint:ScriptLink>-->
<!--MS:<SharePoint:CssRegistration ID="CssRegistration1" Name="&#60;% $SPUrl:~sitecollection/Style Library/DigitalWorkplace/css/digitalworkplace.css %&#62;" runat="server">-->
<!--ME:</SharePoint:CssRegistration>-->
<!--MS:<SharePoint:CssRegistration ID="CssRegistration3" Name="&#60;% $SPUrl:~sitecollection/Style Library/DigitalWorkplace/css/digitalworkplace.custom.css %&#62;" runat="server">-->
<!--ME:</SharePoint:CssRegistration>-->

Note for Custom Masterpages in IE

When using a Custom Masterpage on an Akumina Foundation Site in Internet Explorer you will need the following <meta> tags between the <head></head> tags of your masterpage

<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta http-equiv="X-UA-Compatible" content="IE=10" />
⚠️ **GitHub.com Fallback** ⚠️