Copied to clipboard

Flag this post as spam?

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


  • Benjamin 2 posts 22 karma points
    Mar 06, 2020 @ 08:03
    Benjamin
    0

    Custom properties on media document type not pulling through value

    I've got some custom properties in a media item, but they're always coming back since upgrading from 8.1.0 to 8.5.3 any idea why this would be?

    The model within model builder still has the correct property alias but is always blank/empty.

    This is happening on the two properties brought through from the upgrade and one I added to test if including a new property would resolve the issue.

    If I try to access it via content I get

     content.Value("myProperty")
    The runtime refused to evaluate the expression at this time.
    

    Where the white section is the properties in umbraco but they're not coming through the models builders properties or in the content if I access immediate window.

    In the picture below, the top two fields are brought through from the upgrade and the bottom one is newly created but still doesn't bring through the value.

    Any idea on why this is happening?

    enter image description here

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies