We are currently sending users to a case page after they click "next" on a VisualForce page. The case opens up in the feed, assuming that the user's page layout is feed-based. By default, the publisher is collapsed in the page layout - which is how we normally want it when not accessed from the VF page.
But, in this one particular situation where the case is being accessed from the VF page, we would like the case to show up with the publisher expanded. I can't seem to figure out how to do this.
When inspecting the case feed page source, I found a function that might help, but I don't even know where I'd put this since it's really something that needs to be inserted in the page that has the publisher itself - yet, we're not using a custom VF page to render the publisher.
entityFeedPage.getPublisher().expand()
entityFeedPage.getPublisher().collapse()
Any ideas on how I can do this without trying to put the entire feed into a VF page?
Here's a screenshot of the VF page:
And a screenshot of the collapsed publisher:
And lastly, a screenshot of the expanded publisher (which is what we want when the user is navigated to the case from the VF page):