Foro de discusión Foro de discusión

Atrás

download files

Discusiones [ Anterior | Siguiente ]
Alternar
download files
Respuesta
6/06/25 11:44
Hi

I think I am missing something, but I just can't find a way to download a file (pdf in this case). I saw in older forums that there was a 'open link' block, but my guess is that this was from the old SB version and now everything is in the link tab. 
I need to download pdf's without opening them. So in html is just adding the 'download' tag, but I can't seem to find how it works in smartbuilder

And a second question is if you have an idea how to add any form of registering email addresses. Our lesson is not in an LMS, but at the end of the lesson we want people to enter their email address, and this then will go into a spreadsheet/send email to client so we can add follow up emails. If I remember correctly from previous conversations, there is no way to directly email (without using an external email client). I don't undertand xAPI yet, but can that export this data and put thing neat in a database? We also tried to use zapier, and although the connection was succesfull using a webhook, we were not able to transfer the variables. Do you have any experience or idea how we can transfer variables to zapier?

Any suggestion or idea is welcome
0 (0 Votos)

RE: download files
Respuesta
6/06/25 17:52 en respuesta a Marcel Ooms.
Hi Marcel,
1. Currently there is not a built in way to force a download. We'll see about adding that as a feature. However, in the meantime, you can create a Web Object and put your custom HTML in there. Depending on the location of the PDF (say if it's on a different server), this might get blocked. In my example (see image), I used the Asset Object to include the PDF file in the asset folder, but you could point to different URL, or place the PDF in the package post-publish - just make sure that you point to it correctly.

2. Hmm, it's probably worth taking another look at zapier as that will give you more flexibility. I don't have much experience with it, but generally speaking you can send data in SmartBuilder to a URL using something like this (see other image). If you have a sample of a zapier webhook working to send data outside of SmartBuilder, we might be able to take a look and see what's missing. xAPI would probably work to create a list of emails that would appear in an LRS (like SmartTracker), but you'd have to manually go in and extract them (probably).

Hope that helps!
0 (0 Votos)

RE: download files
Respuesta
11/06/25 10:13 en respuesta a Navdeep Dhillon.
Hi,

The connection with Zapier works great. I thought it would need meta data or change the url, but the blocks you advised worked perfect! I'm really happy with this emoticon

The download function would be a nice addition. I'm now using the web element like you suggested which will work for now. But it can't directly download external files (pdf's on the clients side) as that will just open them within the web object and not download them. So I do need to download them first and put them in the assets folder, or use the asset tool, to make it work.

Thanks for your help and tips once again emoticon
0 (0 Votos)