How to add an attachment description to file uploads?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I am trying to find a way to allow the user to include an Attachment Description that goes in the Attachment object "Description" field when using the file upload component. I don't see a way to do any Actions on a file upload to add it. Has anyone figured out a way to do this?
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Jarrod,

We use a table on the Attachment Object just below the file upload component, with a "description" column. When the user uploads a file, it shows up as the first row in the table, and the description can be edited.

(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
How about an action in the attachment model that shows a popup with the description. You'd use two models to make this happen. You follow?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I'd be interested just because I'd like to see how. ;)
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
If you have a working sample that would be great! I couldn't get anything streamlined to work that didn't involve adding, refreshing, editing and then saving.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
So, here's what we're using. The only step I've eliminated is 'refreshing.' I still have to upload, edit, and save. Using a popup like Pat suggested would be an even better user experience, once the Skuid team get's the model actions working properly.




I will mention that this 'patient' is completely fictional. We're not violating anyone's privacy.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Jim that's cool - but I don't think it gets to what we want.  The table with description in it is cool,  but does not force the user to enter a description.  Still working on this one.. 
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Right. Pat's idea to launch a popup on creation of a new row seems like the way to go.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Rob (et al.),

Any movement on this?

I'd love to see the model on the Attachments object be able to trigger actions in the action framework upon creation of a new row. 
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Yes Matt, it is still on the list, but other cool toys have gotten more priority.  You know how it goes. 
Photo of Nisar Ahmed

Nisar Ahmed

  • 92 Points 75 badge 2x thumb
@Rob Hatch, Any update on this enhancement ?
Photo of Mathew Jose

Mathew Jose

  • 70 Points
Hi Rob,

For community users, the attachment description or filename is not getting updated while using the file upload component.
Can you help me fix this issue?
Photo of Nisar Ahmed

Nisar Ahmed

  • 92 Points 75 badge 2x thumb
Anyone, any update on this enhancement from skuid?
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
The 'add an attachment description' to file uploads is enacted, as of Skuid Banzai you can set an attachment description in File Upload component properties  (see Step 2 in that article).   The Attachments Model also seems to be connected to the Actions Framework via Model Actions, but I haven't done much with this yet so I'm not sure if there are limitations.
Photo of Mathew Jose

Mathew Jose

  • 70 Points
For community users, the attachment description or filename is not getting updated.
Can someone help me fix this issue or confirm if its a bug?
@Rob Hatch