Search Results for

    Show / Hide Table of Contents
    View Source

    Class ForItemTrackedReferencesController

    Inheritance
    System.Object
    ManagementApiControllerBase
    TrackedReferencesControllerBase
    Namespace: Umbraco.Cms.ManagementApi.Controllers.TrackedReferences
    Assembly: Umbraco.Cms.ManagementApi.dll
    Syntax
    public class ForItemTrackedReferencesController : TrackedReferencesControllerBase

    Constructors

    View Source

    ForItemTrackedReferencesController(ITrackedReferencesService, IUmbracoMapper)

    Declaration
    public ForItemTrackedReferencesController(ITrackedReferencesService trackedReferencesService, IUmbracoMapper umbracoMapper)
    Parameters
    Type Name Description
    ITrackedReferencesService trackedReferencesService
    IUmbracoMapper umbracoMapper

    Methods

    View Source

    Get(Int32, Int64, Int64, Nullable<Boolean>)

    Gets a page list of tracked references for the current item, so you can see where an item is being used.

    Declaration
    public async Task<ActionResult<PagedViewModel<RelationItemViewModel>>> Get(int id, long skip, long take, bool? filterMustBeIsDependency)
    Parameters
    Type Name Description
    System.Int32 id
    System.Int64 skip
    System.Int64 take
    System.Nullable<System.Boolean> filterMustBeIsDependency
    Returns
    Type Description
    Task<ActionResult<PagedViewModel<RelationItemViewModel>>>
    Remarks

    Used by info tabs on content, media etc. and for the delete and unpublish of single items. This is basically finding parents of relations.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ForItemTrackedReferencesController(ITrackedReferencesService, IUmbracoMapper)
    • Methods
      • Get(Int32, Int64, Int64, Nullable<Boolean>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX