Search Results for

    Show / Hide Table of Contents
    View Source

    Class HtmlHelperBackOfficeExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Api.Management.Extensions
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public static class HtmlHelperBackOfficeExtensions

    Methods

    View Source

    BackOfficeImportMapScriptAsync(IHtmlHelper, IJsonSerializer, IBackOfficePathGenerator, IPackageManifestService)

    Outputs a script tag containing the import map for the BackOffice.

    Declaration
    public static async Task<IHtmlContent> BackOfficeImportMapScriptAsync(this IHtmlHelper html, IJsonSerializer jsonSerializer, IBackOfficePathGenerator backOfficePathGenerator, IPackageManifestService packageManifestService)
    Parameters
    Type Name Description
    IHtmlHelper html
    IJsonSerializer jsonSerializer
    IBackOfficePathGenerator backOfficePathGenerator
    IPackageManifestService packageManifestService
    Returns
    Type Description
    Task<IHtmlContent>

    A containing the html content for the BackOffice import map.

    Remarks

    It will replace the token %CACHE_BUSTER% with the cache buster hash. It will also replace the /umbraco/backoffice path with the correct path for the BackOffice assets.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • BackOfficeImportMapScriptAsync(IHtmlHelper, IJsonSerializer, IBackOfficePathGenerator, IPackageManifestService)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX