How to the dynamically get the URL of the uploaded file to post to my API

Confluence User - 17 Oct, 2024

I am trying to retrieve the uploaded file URL of the customer when they upload the file in the field. When they submit the form, it will run the process which will post to my API so that I can get the URL of the file uploaded. But I cant figure out what do I have to do get the URL.

json_api;forms;process

1


18 Oct, 2024
confluenceUser
confluenceUser

The hash variable you're using in your JSON API property options is a workflow variable. Don't think you can map a workflow variable on a file upload field.

Also, you probably need to use Enhanced JSON Tool plugin to send files via POST method : GitHub - jogetoss/enhanced-json-tool: Just like the default bundled JSON Tool that reads a JSON feed URL, with additional ability to modify the response via bean shell before inserting formatted data into form data table or workflow variable.

you could use form data hash variable instead. refer to : Hash Variable - Knowledge Base for DX 8 - Joget | COMMUNITY

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print