I would like to create a click button to view github file directly in outsystems.
I have a github account, and I know the repository and file that I like to view.
Is it possible to do that in outsystems?
Any samples.
Thanks
Hello,
You can start by checking the demo that is available on the forge: https://www.outsystems.com/forge/component-overview/2420/github-demo
If you use https://yourpersonalenv.outsystemscloud.com/GitHubDemo/Repositories.aspx?owner=xxxx, being xxxx the owner username of the repository where the file is, you'll get a list of repositories and then you can dig in until you find the list of files.
The method GetContent will return you a base 64 string (if the type of response is "file") that you can convert into a binary and download using the download widget of Outsystems.
Kind regards,
Márcio Menezes