Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2501

I can use File Upload in embedded Forms

    Details

      Description

      AT:

      • I can use a file upload box in the form
      • Data is submitted in base64 encoding as part of the POST request.
      • Support is limited to IE 10+
      • documentation exists (how to use this feature for files up to a certain size, how to upload larger files using multi-part-upload)

      ==

      Note: we should first create an example of how this can be achieved using custom javascript.
      then we should decide whether it is worth it to create a new directive which makes it easier for users to use file uploads

        Issue Links

          Activity

          Hide
          steffen.buchmann@canda.com Steffen Buchmann added a comment -

          Hi,

          we need to integrate a file upload in an embedded form of the camunda tasklist. Therefore I'm interested in getting this ticket implemented.

          What is the status? Is there a way to get it implemented fast? If not, which workaround exists to put a file upload in the camunda tasklist?

          Thanks for your answer,
          Steffen

          Show
          steffen.buchmann@canda.com Steffen Buchmann added a comment - Hi, we need to integrate a file upload in an embedded form of the camunda tasklist. Therefore I'm interested in getting this ticket implemented. What is the status? Is there a way to get it implemented fast? If not, which workaround exists to put a file upload in the camunda tasklist? Thanks for your answer, Steffen
          Hide
          melissa.palmer Melissa Palmer added a comment -
          Show
          melissa.palmer Melissa Palmer added a comment - Hi I have a possible example for this Jira see: https://groups.google.com/forum/?hl=en-GB#!searchin/camunda-bpm-dev/CAM-2501/camunda-bpm-dev/FDEL81klejE/8ibFWtzX5zUJ Regards Melissa
          Hide
          michael.schoettes Michael Schoettes added a comment -

          Test Failed:
          Sebastian Stamm: Form Load failed when process instance variable is already set.

          Show
          michael.schoettes Michael Schoettes added a comment - Test Failed: Sebastian Stamm : Form Load failed when process instance variable is already set.
          Show
          sebastian.stamm Sebastian Stamm added a comment - https://github.com/camunda/camunda-bpm-sdk-js/commit/54a8b959f5419547bf3a80d8bdc94c3003a3e201
          Hide
          melissa.palmer Melissa Palmer added a comment -

          Hi

          I'd like to request that this Jira be re-opened... I have had a look at the documentation around this at:
          http://stage.docs.camunda.org/api-references/embedded-forms/#custom-javascript-examples

          And see a major flaw which usability wise with the download link. I can see that an example of how to download the binary data has been added however this does not help users of the TaskList. This download link allows you to download the binary data however you have no knowledge of what file format the file is in therefore you'll never be able to open it reliable with any application.

          Thanks
          Melissa

          Show
          melissa.palmer Melissa Palmer added a comment - Hi I'd like to request that this Jira be re-opened... I have had a look at the documentation around this at: http://stage.docs.camunda.org/api-references/embedded-forms/#custom-javascript-examples And see a major flaw which usability wise with the download link. I can see that an example of how to download the binary data has been added however this does not help users of the TaskList. This download link allows you to download the binary data however you have no knowledge of what file format the file is in therefore you'll never be able to open it reliable with any application. Thanks Melissa
          Hide
          meyer Daniel Meyer added a comment -

          Hi Melissa,

          thank you for this feedback.

          We are aware of the limitation with the filename and I completely agree with you.
          Within the context the 7.3 release we wanted to have something working but we did not have time to solve that.

          The way we want to solve that is introduce a new variable value type [1] "file" with contains the filename and content type / media type as additional metadata.
          When downloading the file, initially a url like
          /task/variables/varName would be requested. the REST api could then do a redirect to /task/variables/varName/filename
          depending on the filename which is read from the database.

          I opened new issues for this: CAM-3950, CAM-3951, CAM-3953

          Daniel

          [1] http://docs.camunda.org/7.2/guides/user-guide/#process-engine-process-variables-supported-variable-values

          Show
          meyer Daniel Meyer added a comment - Hi Melissa, thank you for this feedback. We are aware of the limitation with the filename and I completely agree with you. Within the context the 7.3 release we wanted to have something working but we did not have time to solve that. The way we want to solve that is introduce a new variable value type [1] "file" with contains the filename and content type / media type as additional metadata. When downloading the file, initially a url like /task/variables/varName would be requested. the REST api could then do a redirect to /task/variables/varName/ filename depending on the filename which is read from the database. I opened new issues for this: CAM-3950 , CAM-3951 , CAM-3953 Daniel [1] http://docs.camunda.org/7.2/guides/user-guide/#process-engine-process-variables-supported-variable-values

            People

            • Assignee:
              michael.schoettes Michael Schoettes
              Reporter:
              meyer Daniel Meyer
            • Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development