Item links table

When I select files i would like to be able to generate all the item-links associated with those files to create a dictionary or a table …is that possible?
Thanks for your help

Incoming item links and/or outgoing ones?

Yes, via AppleScript/JXA. See incoming/outgoing reference in the script suite.