Page 1 of 1

List of all files from InputDocument in a DynaForm

Posted: Fri Nov 22, 2013 3:10 am
by sabatico
List of all files from InputDocument in a DynaForm

I try to solve the problem by using this article, so far for now it is not working for me, i think i do something wrong.
http://wiki.processmaker.com/index.php/ ... _DynaForms

Does anyone has a working example to take a look at the triggers and codes ? can someone share me a working sample ?
Or any more detailed how to?

When i try to apply the java script it gives me "Unexpected Token )" error, even if i make a copy paste.

Thank you.

Re: List of all files from InputDocument in a DynaForm

Posted: Fri Nov 22, 2013 9:32 am
by liliana
Hi,

I've attached an example, taken from this example, hope this helps you

Regards.

Re: List of all files from InputDocument in a DynaForm

Posted: Mon Nov 25, 2013 7:27 am
by sabatico
thank you, on it.
I didn't see that post yet in the wiki. :)

Re: List of all files from InputDocument in a DynaForm

Posted: Mon Nov 25, 2013 9:16 am
by liliana
You're welcome, did i work for you? have you tried it?

Re: List of all files from InputDocument in a DynaForm

Posted: Thu Jan 16, 2014 3:22 pm
by flavio2000
Hi Liliana, I´m new in PM and I have a doubt:
In this case, in your sample, how can an user of task2 see or open a file attached by an user in the task1?
Could you help me, please?
Thanks

Re: List of all files from InputDocument in a DynaForm

Posted: Wed Feb 19, 2014 10:17 am
by sabatico
Hey flavio, did you solve the problem with "Unexpected token )" ?
If yes, how ?

BR
John

Re: List of all files from InputDocument in a DynaForm

Posted: Wed Feb 19, 2014 10:38 am
by liliana
Hi flavio,

Sorry for the late answer, you have to use process permissions in order to see uploaded files from task 1 to task 2, process permissions are set to user who will execute task 2.

Regards

Re: List of all files from InputDocument in a DynaForm

Posted: Sun Mar 23, 2014 12:48 am
by baixue
sabatico wrote:List of all files from InputDocument in a DynaForm

I try to solve the problem by using this article, so far for now it is not working for me, i think i do something wrong.
http://wiki.processmaker.com/index.php/ ... _DynaForms

Does anyone has a working example to take a look at the triggers and codes ? can someone share me a working sample ?
Or any more detailed how to?

When i try to apply the java script it gives me "Unexpected Token )" error, even if i make a copy paste.

Thank you.
Hi.
I want to ask the user to interact in task2 then how they can see and interact in the task1. please help me, thank you.

Re: List of all files from InputDocument in a DynaForm

Posted: Mon Sep 29, 2014 11:53 pm
by an4shah
Hi liliana,

Can u exactly give steps on how exactly users can only view the files that have been upload from previous task?

Thank u for ur kindness. :mrgreen:

Re: List of all files from InputDocument in a DynaForm

Posted: Tue Sep 30, 2014 4:00 pm
by liliana
Hi an4shah,

Create a Process Permission in the process you are working. If the user who has not a participation in the task needs to have a view of the file use the option Participation Required? as No then choose the Input Document and save changes.

To review files, user must login to ProcessMaker and go to Participated list, look for the case number, open it and review the Uploaded documents inside the Information menu, check this example. The list of uploaded documents will display with the possibility to download files.

Hope this information will be useful for you.

Regards,

Re: List of all files from InputDocument in a DynaForm

Posted: Tue Mar 24, 2015 11:28 am
by nickivm
Hello,

I created a request Dynaform and used this link:
http://www.processmakerblog.com/process ... dynaforms/
to create a table with links to multiple uploaded documents. They are attached using "FILE' fields and it's working properly. The problem arise when the request is disapproved and returned to the requester for corrections and some of the documents (rows) must be replaced - "delete" makes always the bottom row disappear an not the row which was suppose to be deleted. In addition the initially attached documents are not really removed and appear again in the grid upon re-sending of the request.
Could you, please, help? Thanks.

Re: List of all files from InputDocument in a DynaForm

Posted: Thu Jun 22, 2017 8:48 pm
by amosbatto
Dashabig wrote:I used to be able to email myself documents from my story projects. For the last month that feature has not resulted in any of the emails going through.

Am I doing something wrong? Ive tried RTF and Text files.
Dashabig, What version of PM are you using? Did you use a trigger to send the email. If so, then post your trigger code.