code: def folderitem(self, obj, item, index):
          
          url = item.get("url")
          title = item.get("DocumentID")
  
          item["replace"]["DocumentID"] = get_link(url, title)
  
          item["FileDownload"] = ""
          item["replace"]["FileDownload"] = ""
          file = self.get_file(obj)
          if file and file.get_size() > 0:
              filename = file.filename
              download_url = "{}/at_download/File".format(url)
              anchor = get_link(download_url, filename)
              item["FileDownload"] = filename
              item["replace"]["FileDownload"] = anchor
  
          item["DocumentVersion"] = obj.getDocumentVersion()
          item["DocumentLocation"] = obj.getDocumentLocation()
          item["DocumentType"] = obj.getDocumentType()
  
          return item
docs: Augment folder listing item with additional data