As a way to get the ReferenceKey via a SelectionItem, we can leverage using a KeyPath. Below is a code snippet calling ShowPath() (instead of ShowSelectedItem()) on a SelectionItem in our forum post.
ReferenceKey
SelectionItem
KeyPath
ShowPath()
ShowSelectedItem()