VMware Aria Automation Orchestrator

 View Only
  • 1.  FileUpload Parameter in vRO 8.1

    Posted Jul 13, 2020 07:11 AM

    Hi all,

    vRO 8 introduced the possibility to upload a file into the input form of a workflow.

    I'd like to upload a file and then convert it to a base64-encoded string to use it in a scripting block.

    But I don't know which object type to select as input parameter to be able to change the display type to "File Upload". The type "Any" doesn't work unfortunately and plain "object" type cannot be selected. If I just drag the "File Upload" input element from generic elements into the form, a dynamic input ID is created and can partly be referenced. But I still don't know how to retrieve the file or its content from another attribute or in the workflow script itself.

    I'd greatly appreciate it if anybody has some hints :smileyhappy:

    Regards,

    Lukas



  • 2.  RE: FileUpload Parameter in vRO 8.1
    Best Answer

    Broadcom Employee
    Posted Jul 13, 2020 09:37 AM

    Hi,

    One option is to add workflow input parameter of type MimeAttachment.



  • 3.  RE: FileUpload Parameter in vRO 8.1

    Posted Jul 13, 2020 09:52 AM

    Thank you, exactly what I've looked for!



  • 4.  RE: FileUpload Parameter in vRO 8.1

    Posted Oct 12, 2023 10:44 PM

    Hello, 

    I have the same situation as you after 3 years, i couldn't decode the content or store the file, show it to users (which item that i can use to PDF reader), any idea or help ? Thanks



  • 5.  RE: FileUpload Parameter in vRO 8.1

    Posted Oct 13, 2023 07:17 AM

     

    Hello Arar,

    a detailed explanation how to handle this is here available:

    https://communities.vmware.com/t5/VMware-Aria-Discussions/upload-File-item-in-service-broker-how-to-use-it/m-p/2990176#U2990927

    Best regards
    Stefan