0 Populating a metric automatically on a schedule using a data view. 2 Cody Tindall posted 9 Years Ago I'm trying to setup some metrics that will produce reports automatically every week using a dataview. The problem is there doesn't seem to be a way to manually run the metric and for some reason no matter how I setup the schedule I can't get the metric to run. Its status in the top right doesn't change from "Never Run". Any help would be greatly appreciated! Cody
Cody Tindall 9 years ago So I went to github and found the bug report and used that to setup the job. https://github.com/SparkDevNetwork/Rock/issues/950It is included now with v3.2 but you have to setup the job yourself. It turns out I was missing something! Thanks again guys for all your hard work, you're making a brilliant tool!
Jon Edmiston 9 years ago Sorry about having to set it up manually. It's difficult for us to update the database in patch releases. The 4.0 update will automatically add the job for you if you don't manually add it yourself.
Cody Tindall 9 years ago Not a problem, I'm thrilled to have the feature without waiting for the next version release! I'm getting an exception "Object reference not set to an instance of an object" but it seems to still calculate the metric on the schedule so I'm going to ignore it until I find something its hindering.
Cody Tindall 9 years ago So if I understand correctly, there isn't a way to automatically populate the metrics right now?
Frank Grand 9 years ago I don't think there is a way to populate them through setting up a schedule within the metric. There is probably a SQL query that could be written
Cody Tindall 9 years ago That's unfortunate, I was under the impression that the metric system was working. I'm glad to know my install isn't broken though! I'm anxiously awaiting the CalculateMetrics job, thanks for your help!
Cody Tindall 9 years ago Thanks Jon! I know the Rock team is working hard and I appreciate everything you guys do.