Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By cosyxu
#817651
Hi Amo,

I am using mutipleFiles Control to upload several files in the ABE Task(this is a link to fill a form), and I upload two files, in the next ABE Task(this is a link to fill a form) the uploaded files are gone.

Any ideas why this happens?

Thanks,
YX
Attachments
2018-11-07_14-58-41.png
2018-11-07_14-58-41.png (9.07 KiB) Viewed 98 times
#817653
Hi Amo,

I'm using PM3.2.2

It should be like this, please see the attachments. But when I refresh the ABE link, the attachments are gone for some reason.

Any ideas? Thanks.

Yx
Attachments
2018-11-07_16-14-18.png
2018-11-07_16-14-18.png (17.59 KiB) Viewed 92 times
#817665
Hi Amo,

It seems I have found the issue:

Attachment Process Permission
Available Version: As of ProcessMaker 3.2.2.


An Attachment process permission allows users to download files that were uploaded using a Multiple File Uploader control that was not related to an Input Document when the disable_download_documents_session_validation flag is enabled.

If the user does not have an Attachment process permission, he/she will be restricted from downloading the attached files and an error 403 message will be displayed.

Therefore the upload attachments in "link to fill a form" task won't be able to show.

Is there any way to solve this?

Thanks,
Yuan
Attachments
2018-11-08_12-18-22.png
2018-11-08_12-18-22.png (44.37 KiB) Viewed 86 times
#817669
Oh, I forgot about that. 3.2.2 and later has new file attachment and Input/Output Document permissions to allow users to download files:
FilePermissions.png
FilePermissions.png (83.12 KiB) Viewed 83 times
See: https://wiki.processmaker.com/3.2/Proce ... ched_Files
#817670
amosbatto wrote: Wed Nov 07, 2018 9:59 pm Oh, I forgot about that. 3.2.2 and later has new file attachment and Input/Output Document permissions to allow users to download files:
FilePermissions.png

See: https://wiki.processmaker.com/3.2/Proce ... ched_Files
Hi Amo,

My issue is the Dyanform in the "Link to fill a form" when the user opens the link, the uploaded attachments are missing(not showing in the dynaform if I didn't turn on "forced user login").

As sooner as user login, the attachment will show. But I don't want my user to login to see the upload documents.

Any ideas how to solve this?

Thanks,
Y
#817680
I haven't tried this in PM 3.2.2 and later, but it should be possible to add this line to your /workflow/engine/config/env.ini file:
Code: Select all
disable_download_documents_session_validation = 1
Then, you didn't need to login to download files.
See:
https://wiki.processmaker.com/3.3/Confi ... estriction

Good morning Amo, I am using ProcessMaker 3.2.2, […]

Hi Processmaker Team, after upgrading from 2.0.45[…]

Un solo checkbox en un grid

Buen día amossbatto Creo que no entendist[…]

Is there any way this can be done using a php trig[…]