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?
Do you have the
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.
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?
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.
This is working as designed with the out of the box Form controls.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.