Hi All,
I have a scenario where I am getting a URL of the attachment through an API , So I need to hit that URL , So that my file are downloaded . How can I achieve this with the help of Process model or is there any other way
Thanks In advance
Discussion posts and replies are publicly visible
You can easily download files using a normal integration object.
Hi Stefan , I just have the URL of the attachment like for example
https://abc/mailing/download_file/?msg_id=1111111&user=abccc@
when I copy this link to browser , it automatically gets downloaded.
In your scenario I don't have the document name to pass
Just leave the field empty. Appian will try its best to get the name right.
The browser check the HTTP headers for the filename and names the file accordingly. You can do the same as a second step after the download.
The header to look for is described here.
stackoverflow.com/.../http-download-file-name
Can u please elaborate more . I did not understand . How can I achieve this
Achieve what? Leaving the field "Document Name and Extension" empty?
How can I pass the URL in Integration. Is I need to create another Integration and pass that URL in that or something else .
I am confused. Would you mind describing the full picture?
But, integration objects have rule input which you can pass values to.