I have a custom sidebar component that needs to get record context in Salesforce. I was doing this using the sdfcIFrameOrigin value from the page parameters. This works when viewing the record itself, but when on ancillary pages like the New Comment or Send an Email page, I am no longer getting query string parameters in the page parameters.
I used to get this from the sdfcIFrameOrigin field, but now this removes all of the page parameters.
For example, if I access the emailAuthor page, I will get:
Does anyone have any ideas how I can get record context from my sidebar component in my example of the EmailAuthor page?