Copied to clipboard

Flag this post as spam?

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


  • Patrick Livbom 6 posts 27 karma points
    Feb 03, 2014 @ 13:39
    Patrick Livbom
    0

    Refresh properties changed in codebehind in backend

    Hi

    I have made a customized versionhandled file uploadingsystem where i use the versioning guid and contentid for identifying uploaded files and which one that are the actual published one. I have amongst other thinsg made two custom propertyeditors, filled with info from an webapi, called on load of the propertyeditor.

    I upoad a file with save or save & publish and hook up on the events ContentService.Saved and ContentService.Published. The question i have is: how do i get umbraco to "reload" the new vatues in my other proertyeditors? Example:

    custom property published file
    Custom property last u:l file
    file upload
    general submitbutton in backend

    when i choose a new file in file upload i hit save, now i want the custom property last u:l file to reflect the changes to this property (i set the values in my eventhandler so everything works as expected but i cannot present for the content editor that the value have been changed.

    I am not so familiar with angularJS so forgive me if my question is stupid :)

Please Sign in or register to post replies

Write your reply to:

Draft