code: def folderitem(self, obj, item, index):
          
          item = super(ReferenceAnalysesView, self).folderitem(obj, item, index)
  
          if not item:
              return None
          item["Category"] = obj.getCategoryTitle
          ref_analysis = api.get_object(obj)
          ws = ref_analysis.getWorksheet()
          if not ws:
              logger.warn(
                  "No Worksheet found for ReferenceAnalysis {}"
                  .format(obj.getId))
          else:
              item["Worksheet"] = ws.Title()
              anchor = "<a href='%s'>%s</a>" % (ws.absolute_url(), ws.Title())
              item["replace"]["Worksheet"] = anchor
  
          # Add the analysis to the QC Chart
          self.chart.add_analysis(obj)
          return item
docs: Service triggered each time an item is iterated in folderitems.
  
          The use of this service prevents the extra-loops in child objects.
  
          :obj: the instance of the class to be foldered
          :item: dict containing the properties of the object to be used by
              the template
          :index: current index of the item