How to create hyperlink to dynamic pages?

@hey8881 I’m not sure I got you. Let’s see if this solution answers your question.
In the collection create a filed: externalUrl
In the dynamic page connect a button to the externalUrl of the current item.

$w.onReady(() => {
$w("#dynamicDataset1").onReady(() => {
const currentItem = $w("#dynamicDataset1").getCurrentItem();
if(currentItem.externalUrl){
$w("#button1").link= currentItem.externalUrl;
} else {
$w("#button1").collapse();
}
})
})