It won’t be a (custom) metadata field but an extension of the Document > Links inspector instead. And of course it will be scriptable:
tell application id "DNtp"
repeat with theRecord in (selection as list)
repeat with theReference in incoming references of theRecord
set theURL to reference URL of theReference
...
end repeat
end repeat
end tell
A property for outgoing references
will be available too of course.