I have a webscript which would read all selected items.
Which query I should use?
Alfresco - How to get all checked out documents? - Stack Overflow
Ok, now I understand.
You can see how it is done by looking at the Share's source code.
The action configuration: share/share-documentlibrary-config.xml at master · Alfresco/share · GitHub
Follow that model and you will get what you need.
What have you tried exactly?
Can you share some code to give us an idea on what you are doing?
Without any context, it will be hard to help you.
I have a new action for selected items.
And now I need to read all selected items in this page. The question is how Alfresco read this files?
Retrieving data ...