Copied to clipboard

Flag this post as spam?

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


  • Kieron McIntyre 108 posts 326 karma points
    Jan 11, 2013 @ 14:29
    Kieron McIntyre
    0

    Why might DynamicNode.GetPropertyValue() hit the database?

    I have some code (in a web context) that calls GetPropertyValue() on a DynamicNode and this makes a call to the database toretrieve the property value (see screenshot). However, I thought this should query the data in the cached umbraco.config

    Why might this be happening?

  • Kieron McIntyre 108 posts 326 karma points
    Jan 11, 2013 @ 16:14
    Kieron McIntyre
    100

    I have worked this out. It was not the DynamicNode causing the issue, it was a call to new Media(id).getProperty(alias) in the same method call.

    Thanks.

  • 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