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


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?