We are using the CMIS browser and CMIS rules to upload files to Alfresco. It see

We are using the CMIS browser and CMIS rules to upload files to Alfresco. It seems using this utility, we can upload only the files already uploaded to appian knowledge center. Can we use this utility to browse from user's local machine and upload directly to alfresco?
Or alternately, can we use a!fileUploadField to upload a file from user's local machine to alfresco, instead of using a document picker?

OriginalPostID-151222

OriginalPostID-151222

  Discussion posts and replies are publicly visible

  • 0
    Certified Senior Developer
    Hi Soumyab,

    AFAIK, the reason why file upload field is not used here is, the document value is temporary until unless we submit the form which means we can not use the document before committing to Appian(form submit).

    In your case if you want use the File Upload field, then the button clicks will be increased and you have loop back to same form after clicked on a button(non connector) to first commit the document to Appian and chained to same form with saved document as in put. Finally clicked on the button which calls the connector to copy the uploaded document.
  • @soumyab The behavior of the document object saved by using fileUploadField compoent is explained under 'Notes' section at https://forum.appian.com/suite/help/7.9/SAIL_Components.html#FileUpload which clearly says that a form submission is needed.

    Added to the approach specified in the previous comment, you could tweak the approach specified above slightly if possible so that the copying of documents is made via a smart service (Check if a shared component is available for doing so) or a process that copies the contents (document objects obtained after submission of form) to external system asynchronously after the submission of the form. In this way, you can try avoiding a second click.