You are viewing limited content. For full access, please sign in.

Question

Question

Removing an attachment from update to repository task

asked on May 29, 2018

I have a process that currently updates our repository with the form as well as an attachment.  We do not need to keep the attachment any more. How do I remove it?

UploadID.PNG
UploadID.PNG (29.68 KB)
0 0

Replies

replied on May 29, 2018

Hi Sally,

 

Delete the upload field from form designer.

 

Regards

0 0
replied on May 29, 2018

Thank you, but we still need to see the uploaded document we just don't need to store it in the repository.

0 0
replied on May 29, 2018

Hi Sally,

 

In that case, you should delete de attachment when you store it in the repository

0 0
replied on May 29, 2018

Alternatively, you can store all the uploads somewhere in the repository and have a Workflow kickoff whenever a new entry is created and delete that starting entry (the upload file in this case)

1 0
replied on May 30, 2018

Thank you for your suggestions.  I think one of these will work for us.

0 0
replied on May 30, 2018

I mimic the CSS of the existing upload files table and have a hidden column that is a checkbox for 'delete attachment'. I have the same "X" in the last row, and if that is clicked, my delete checkbox gets checked (hidden) and the CSS of the attachment changes to a strikethrough. If the user clicks the "X" again the strikethrough is removed and checkbox cleared.

upon submit, a workflow sees which entries have the check variable and delete them from the repository.

Side note: I also use weblink for users to view the attachments so, in the table I have the URL to weblink (made in workflow) and the entryID. Having the entryID makes it easy for workflow to delete the entry.

Hope this gives you some ideas! yes 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.