Converting SQL field into url field

Hi,

I have a SQL database that is connected and running perfectly with Wix repeater. The issue is that I need to add a pdf file to each dynamic item page. The link is on my sql database, but I can´t convert the field inside wix so it reads as url (it´s a varchar field on SQL). I also tried using the HTML function (see below) but to no avail…can anyone point me out into the right direction?Tks!

Here is the code:

$w . onReady ( function () {

$w ( “#dynamicDataset” ). onReady ( () => {
let itemObj = $w ( ‘#dynamicDataset’ ). getCurrentItem ();
$w ( ‘#html1’ ). src = itemObj . resumeurl ;
})
});

1 Like

What is the type of itemObj.resumeurl?