What is the difference between attaching files using the sidebar button and attaching the files using a dedicated "attach" docfield?

Hi, I don’t understand what is the purpose of adding a “attach” docfield if the user can attach files to any document using the global sidebar “attach file” button?

The differences are very slight.

Sidebar Attachments.

  • Multiple-attachments possible.
  • The path and attachment metadata are stored in SQL table tabFile

A DocField with type ‘Attach’

  • Again the path and attachment metadata are stored in SQL table tabFile.
  • Will display as a button on the Document’s screen; but also in the sidebar.
  • Uniquely, the file’s path is stored again…in a SQL column on the DocType’s table:
    image
  • Only 1 value can be stored in each Document record.
1 Like

Thanks a lot for the clarification.