0

Attachment tab that shows number of attachments

Is there a way to show the number of files attached to a record, without having to click the attachments tab? It would be nice if the attachments tab included a number indicating the number of attachments.

3 replies

null
    • Sean
    • 4 yrs ago
    • Reported - view

    You could use a Formula field with, count(files(this)), on your Form view.

    • Choices_Software_Dean
    • 4 yrs ago
    • Reported - view

    Sean, thanks to your suggestion, my Invoices title formular now looks like this:

     

    let n := count(files(this));
    if n then
    "INVOICE " + 'Invoice No.' + " (" + n + " attachments)"
    else
    "INVOICE " + 'Invoice No.'
    end

     

    Works great. Thank you!

    • Choices_Software_Dean
    • 4 yrs ago
    • Reported - view

    Revised:

     

    let n := count(files(this));
    if n = 1 then
      "INVOICE " + 'Invoice No.' + " (" + n + " attachment)"
    else
      if n then
        "INVOICE " + 'Invoice No.' + " (" + n + " attachments)"
      else
        "INVOICE " + 'Invoice No.'
      end
    end

Content aside

  • 4 yrs agoLast active
  • 3Replies
  • 1108Views