def get_resource_url(self, resource, href, **kwargs):
     dbp = DBPool(self.env, InstancePool())
     item = dbp.load_item(resource.id)
     return href.customartifacts('artifact/%d' % (resource.id,), action='view')