code: def folderitem(self, obj, item, index):
          
          title = obj.Title()
          description = obj.Description()
          url = obj.absolute_url()
  
          item["replace"]["Title"] = get_link(url, value=title)
          item["Description"] = description
  
          department = obj.getDepartment()
          if department:
              title = department.Title()
              url = department.absolute_url()
              item["replace"]["Department"] = get_link(url, value=title)
  
          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