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?
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.
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
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.
is working on a reply...