Action Button to Select All Documents in Embedded View

I have seen many postings on this, but am unable to find a solution that actually works. I have a form with an embedded view of related child documents by single category. I am displaying the action bar in the embedded view and want an action button (via agent, action or any working method) to select all the documents in that embedded view. I’m assuming that it will only select the documents by the key being used in single category, as they are the only ones that display. Otherwise I will need to incorporate that into the code.

Please advise with any assistance. I have tried numerous scirpts and @functions, but have had no success.

Thank you in advance for any guidance! :slight_smile:

Subject: RE: Action Button to Select All Documents in Embedded View

There’s not an efficient way to do it that I know of, but you could write a formula agent to select documents based on a selection formula – and use the action to set the selection parameter into an environment variable and then run the agent. The selection to make the agent select documents is in the lower right corner of the screen when you’re editing the agent.