Get link data from databoject type link

Hello there.

trying to output a link from a dataobject. See you can see how it is set up

link2

In template I try to get the data with
<?php echo $slider->getBtnlink();?>

But the field has no output. Link is set. Do you have to handel links different?

thanks!