12-11-2019 04:21 PM
In Alfresco Process Services 1.9.0.3, when you upload a file to the out-of-the-box task form that is part of the task app, a thumbnail will be rendered and displayed after uploading, as shown below, which is great:
However, when you use the Upload form control on a form in a custom process, a thumbnail is not generated, as shown below, which is not what we expected:
Maybe there is an option or a style or something else that we are supposed to specify in the form design when using this control? If so, what is it and where is it documented?
Or is this a bug?
12-16-2019 05:31 AM
Do you have the
12-16-2019 07:43 AM
Where is that set?
Just to be clear, I'm designing the form in the form editor of the activiti-app in APS 1.9.0.3. The file upload control has the following tabs: General, Attach File Options, Visibility, and Style.
12-16-2019 07:56 AM
I do not see this behaivor. When I add a document using the form - it is not displayed. Only the name of the file.
Then when I look at the running processes, I see the thumbnail you are referring to.
Finally, if I display the value (contents) of this field showing "show content embedded in form" when I create the form.
Then I see something like this.
Where did you get the screenshot you are showing in your original message?
12-16-2019 08:56 AM
Yes, when you look at the *process* the thumbnail shows up.
Look at the out-of-the-box Task App. When you add a content item, the thumbnail shows up immediately.
Now look at your test process. When you added that attachment, the thumbnail did not show up on the task form. You had to actually view the running process to see it.
So if you start a process, or if you are assigned a task in a process, and you upload a file, the thumbnail is never displayed for some reason. It isn't displayed immediately upon upload (like it is for the OOTB Task App) and it is not displayed if you save the task and return to it. The control just shows the file name, like it is in your screenshot.
Explore our Alfresco products with the links below. Use labels to filter content by product module.