*This post is locked for comments
Thanks Martin for your advice.
I implemented the Server version of this class and it worked!
There is a reason why this class has Run on = Client - it uses resources that works only on client. In particular, I believe that add() uses WinAPI, which itself is bound to client. If you really want to use DocuActionArchive, you'll have to change the implementation. A better approach may be creating a separate class for your purposes.
Note that I don't have any AX 2012 environment on hand, therefore I can't look at the code. Sorry if I don't remember it correctly.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156