377
Views
1
Comments
How to download PDF file from url inside Server Action
Question

Hi all,

I would like to ask how to download PDF file from URL inside the Server Action?

I'm planning to create a function as follow:

1.Check the URL to see contain PDF or not

2. if there is PDF (HTTP 200), download and attach in email, then send email

3. if there is no PDF(HTTP 404), END the function

Please share some idea on how to check the URL contain PDF or not, then I can download it and send in email


Thanks

2025-04-17 05-42-16
Ajit Kurane

Hello jack,
 If I am understood your usecase well then,

Please check below post,
https://www.outsystems.com/forums/discussion/70706/providing-a-pdf-file-via-url/

In addition you can refer this one,

https://www.outsystems.com/forums/discussion/66540/pdf-generate-and-send-it-in-an-email/

Regards,

Ajit Kurane.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.