Search Results for

    Show / Hide Table of Contents
    View Source

    Class TagsDataController

    A controller used for type-ahead values for tags

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    Namespace: Umbraco.Cms.Web.BackOffice.PropertyEditors
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class TagsDataController : UmbracoAuthorizedApiController
    Remarks

    DO NOT inherit from UmbracoAuthorizedJsonController since we don't want to use the angularized json formatter as it causes problems.

    Constructors

    View Source

    TagsDataController(ITagQuery)

    Declaration
    public TagsDataController(ITagQuery tagQuery)
    Parameters
    Type Name Description
    ITagQuery tagQuery

    Methods

    View Source

    GetTags(String, String, String)

    Returns all tags matching tagGroup, culture and an optional query

    Declaration
    [AllowHttpJsonConfigration]
    public IEnumerable<TagModel> GetTags(string tagGroup, string culture, string query = null)
    Parameters
    Type Name Description
    System.String tagGroup
    System.String culture
    System.String query
    Returns
    Type Description
    IEnumerable<TagModel>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TagsDataController(ITagQuery)
    • Methods
      • GetTags(String, String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX