Skip to content

Media Tracking - Media isn't tracked as being 'in use' if picked in a Macro Parameter #8131

@marcemarc

Description

@marcemarc

Quite often a Macro is used to allow an editor to pick a selection of media files, and then the selection is written out in a nice list, with some custom HTML, eg icons representing the file types and the size of the file to download...

This is a big time saver for editors, and also gives you central consistent control over the markup used for these lists.

image

image

The macro would have a multiple media picker as a parameter - and allow either a 'folder' to be picked or individual media items.

I wouldn't necessarily expect media to be tracked if a 'folder' has been picked, something would need to be done with the paths and that seems a bit niche..

.. but I would expect (hope) individual media items 'picked' in a macro parameter multi media picker would be registered and tracked as being 'in use'?

image

Using Umbraco 8.6.1

To replicate create a new Macro called Insert Files - Give it a Macro Parameter of Multiple Media Picker... allow it to be used in Rich Text Area and the grid.

image

Visit a page, with a Rich Text Area, on it, insert the macro and pick some media files...

save and publish

visit the media item in the back office ... no media references tracked :-(

so and editor cannot be super confident whether something actually is or is not used...


This item has been added to our backlog AB#6755

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions