Extending Listview to show custom made property editors value
Hi Guys,
I made a property editor to grab the visits number for each node from a custom table (ContentHit) and it will be nice to show visits to each node in the ListView and make it sortable.
I tried to configure the listview to show the visits on the current ListView but it appeared empty.
I think it is because as you save the value of your custom property editor. You will save the value (count of visits) in your content node? If you are not sure check the /App_Data/umbraco.config file, browse to your specific node and see if your value is in the xml fragment for your node.
If not, you must ensure that your editor also stores the value. Use this in your property editor view for the ng-model directive:
Extending Listview to show custom made property editors value
Hi Guys,
I made a property editor to grab the visits number for each node from a custom table (ContentHit) and it will be nice to show visits to each node in the ListView and make it sortable.
I tried to configure the listview to show the visits on the current ListView but it appeared empty.
Any Ideas how to do that?
Hi Ibrahim,
I think it is because as you save the value of your custom property editor. You will save the value (count of visits) in your content node? If you are not sure check the /App_Data/umbraco.config file, browse to your specific node and see if your value is in the xml fragment for your node.
If not, you must ensure that your editor also stores the value. Use this in your property editor view for the ng-model directive:
Best regards,
Sören
is working on a reply...