Get parent of context item in relationship action

オフライン

Hi all,

I am using an action from a relationship grid which is driven by the PE_GetSelectedItems method. I need to get a handle on the parent item specifically as it looks like "this" returns a collection of all items open when used from this kind of action. 

In my case, I thought to get the parents via relationship however the item selected may have multiple parent items from the same relationship where I need the one this method is specifically called from.

Any help is appreciated.