Copied to clipboard

Flag this post as spam?

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


  • Stefano Beretta 102 posts 247 karma points
    Jun 27, 2018 @ 16:25
    Stefano Beretta
    0

    Custom property + external source value

    Hi everyone!

    I've created my own custom property.

    In the backoffice node page the property renders the shortened url of the page. It is a kind of "read only property" and I really don't want to save the value of the property on the database assigning it to $scope.model.value, so, everytime the page is loaded in the shortened url is displayed.

    The question is: is there a way to retrieve the shortened url via myNode.GetPropertyValue<T>("propertyAlias") on the frontend?

    Thank you

    S

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Jun 28, 2018 @ 19:36
    Frans de Jong
    0

    In the frontend you are using IPublishedContent wich reads the data from the cache witch in turn is build from the database. So if you don't save it it won't be accessible in the view.

Please Sign in or register to post replies

Write your reply to:

Draft