Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • SSA Backend 108 posts 640 karma points
    May 31, 2017 @ 14:09
    SSA Backend
    0

    Label property editor with custom DB data

    Hi all,

    I am developing a package for the Umbraco. I extend "Image" media type by a custom tab and "Label" property editors: MyLabel1 and MyLabel2. Also, I have my own table "MyLabels" with columns: ImageId, MyLabel1, and MyLabel2. The question is how to display values from my table when a back-office user opens an image? Can anyone describe a step by step workflow?

    Thanks in advance

  • John Bergman 478 posts 1107 karma points
    May 31, 2017 @ 18:42
    John Bergman
    0

    If you have the media object, you have access directly there to any fields you enter, it would be similar to how you get any other built-in image property from there.

  • SSA Backend 108 posts 640 karma points
    May 31, 2017 @ 20:44
    SSA Backend
    0

    Hi John,

    I know how to setup value for a custom or built-in property. My question is about where I should place this code in case of a custom package? In other words how to extend back-office media or document type loading by custom code.

Please Sign in or register to post replies

Write your reply to:

Draft