Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add meta-fields for media assets #1020

Closed
tidyui opened this issue Jan 31, 2020 · 0 comments
Closed

Add meta-fields for media assets #1020

tidyui opened this issue Jan 31, 2020 · 0 comments

Comments

@tidyui
Copy link
Member

tidyui commented Jan 31, 2020

Add the standard meta-information fields

  • Title
  • Alt Text
  • Description

to media assets. Also add support for globally defined custom properties for media assets. These should be defined like this in Startup.cs.

App.MediaTypes.MetaProperties.Add("External Id");

And can then be updated and consumed through the Api like this

media.Properties["External Id"] = "1234562;
var externalId = media.Properties["External Id"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant