I've edited a custom object to include a reference to a custom help page. That page is a VF page with a controller class. For "Context-Sensitive Help Setting" I have "content Name" = "myCustomPage".
My question is how can I refer to the original object from that custom help page or its controller class?
When that page launches, the Apex.Currentpage in the controller is the help page, not the original standard layout page.
I looked into using the "referer" header. this is helpful for layouts/pages that show an instance of the object. But the referer value was NOT if the help page is called from a related list within a larger page. Then, the referer value was the URL for the whole previous page, and I couldn't figure out the specific related list from there.