Copied to clipboard

Flag this post as spam?

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


  • Darren Hunter 105 posts 196 karma points
    Oct 06, 2023 @ 09:31
    Darren Hunter
    0

    Umbraco 10 Property Editor - Get value Dynamically and not Cached.

    Hi,

    I am in the middle of building an Events system and I have hit a bit of an impasse, I have created a new Property Editor that shows the events that are to be shown on that page that the events property editor is on.

    Using

    $scope.model.value

    To save the value to the DB the problem I have is that this is a cached value and not live data.

    I need to know if there is a way from the property editor to get live data on the client side by calling a method on the property editor to get the most UpToDate data from the DB.

    I have a work around that I can do but it makes the property editor a viewer only in the back office, and I would like to be able to combine the page level code in to the property editor to get an up to date list of events.

    But there seems to be no documentation on how to do this can some one point me in the correct direction please.

Please Sign in or register to post replies

Write your reply to:

Draft