Hi,
I'm trying to call an API function that returns an file and then have the browser download this file.
Can Stimulsoft facilitate this using the Hyperlink option?
Thanks.
Using Hyperlink to call API endpoint that provide file content
Re: Using Hyperlink to call API endpoint that provide file content
Hello.
You could try to do it in the Hyperlink property in the curly brackets.
Also, there is the GetHyperlink event of the text component that you could use.
What kind of function do you need to call?
Thank you.
You could try to do it in the Hyperlink property in the curly brackets.
Also, there is the GetHyperlink event of the text component that you could use.
What kind of function do you need to call?
Thank you.
Re: Using Hyperlink to call API endpoint that provide file content
Basically in my report I want to have a link "Document 1" that the user can click, this calls an url "http://site/api/getdocument/1" and the document downloads.
I will try your suggestions.
Thanks.
I will try your suggestions.
Thanks.
-
- Posts: 7291
- Joined: Tue Mar 20, 2018 5:34 am
Re: Using Hyperlink to call API endpoint that provide file content
Hello
Ok.
Please let us know if you need any additional help.
Thank you.
Ok.
Please let us know if you need any additional help.
Thank you.