var link = ...;
var linkTarget = link.getProperty("URI").getNode();
This can also be done by using one of our utility classes, PropertyUtil.
var propertyUtil = request.getAttribute("sitevision.utils").getPropertyUtil();
var link = ...;
var linkTarget = propertyUtil.getNode(link, "URI");
This method will not throw an exception if the target is not valid, it will just return null.
Last updated: