I have a view and in the action bar I have an action that invokes a LS agent. The LS agent uses unprocesseddocuments to get the collection of currently selected documents. This works fine in a regular view.
I then created a page (and I tried a form) on which I embedded the view, single category selection, shows the action bar and selection column. When I select documents and click on the action button I get the error “Document has not yet been saved” and the LS agent is not executed.
Found answer after more searching, LS needs to be in action button, cannot call agent from an action button in an embedded view.