Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

ShellCore breaks Boostrap table js



I want to use Boostrap table in an Episerver plugin (separate view).

If I add the following sample to a plain .aspx file (outside EPiserver) everything works as expected.


If I add the same code to an Episerver plugin I get the following console error:

Uncaught TypeError: Cannot read property 'split' of undefined
    at (ShellCore.js:1)
    at HTMLTableElement. (bootstrap-table.min.js:8)
    at Function.each (ShellCore.js:1)
    at init.each (ShellCore.js:1)
    at init.a.fn.bootstrapTable (bootstrap-table.min.js:8)
    at HTMLDocument. (CustomUserAdminTool:137)
    at Function. (ShellCore.js:2)
    at Function.each (ShellCore.js:1)
    at Function.ready (ShellCore.js:2)
    at HTMLDocument. (ShellCore.js:1)

The edit plugin loads the following Episerver components in head:




    @Html.Raw(ClientResources.RenderResources("DojoDashboardCompatibility", new[] { ClientResourceType.Style }))

    @Html.Raw(ClientResources.RenderResources("", new[] { ClientResourceType.Style }))
    @Html.Raw(ClientResources.RenderResources("epi-cms.widgets.base", new[] { ClientResourceType.Style }))

Any advice on how to get past this issue?

Edited, Feb 20, 2018 11:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.