$action parameter for Viewer

Both new SSViewer() and getViewer() require an $action parameter and I’m not having much luck understanding what that action parameter means. The documentation is a bit sparse on that one.

I hope this post gets an answer for the next person who is interested in this. I don’t actually need to know the answer because I realised I was doing things the hard way. I went back to doing it the simple way.

It’s not clear what you mean… the constructor for SSViewer does not require an $action parameter.
The getViewer() method on Controller does require that parameter, and it’s the standard action as referred to in the routing documentation.