Hello, I'm trying to embed a PDF from a PDF collection on a dynamic page with:
import wixData from ‘wix-data’;
import wixLocation from ‘wix-location’;
let source;
$w.onReady(function(){
$w(“#dynamicDataset“).onRowReady(() => {
source = $w(“#linkSource“).link;
let name = source.split(“/“)[ 4 ];
let nul = source.split(“/“)[ 3 ];
$w(“#html1“).source = (‘https://docs.wixstatic.com/ugd/${url}?');
});
}
and I'm getting these 4 error messages that I can't figure out:
![](https://static.wixstatic.com/media/a27d24_d3c94b9820e54e92a35dd538451b80a5~mv2.png/v1/fill/w_49,h_22,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_d3c94b9820e54e92a35dd538451b80a5~mv2.png)
![](https://static.wixstatic.com/media/a27d24_a21aaf73b4444d54ad532e71987c094d~mv2.png/v1/fill/w_49,h_22,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_a21aaf73b4444d54ad532e71987c094d~mv2.png)
![](https://static.wixstatic.com/media/a27d24_3ffaa37eb1f741e8a9c35671375f96ae~mv2.png/v1/fill/w_49,h_22,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_3ffaa37eb1f741e8a9c35671375f96ae~mv2.png)
![](https://static.wixstatic.com/media/a27d24_3145cefc59e14ae1992c961163e8641f~mv2.png/v1/fill/w_49,h_22,al_c,q_85,usm_0.66_1.00_0.01,blur_2,enc_auto/a27d24_3145cefc59e14ae1992c961163e8641f~mv2.png)
Any assistance will be much appreciated.