Check-in multiple documents at once in D2

Francois Dauberlieu
edited December 19 in Documentum #1

I have a requirement to select multiple documents or a folder and check-in all the documents at once.

Right now, there is no Apply to All or Ok to all in the Check-in user interface therefore, I created mine (called by a menu entry with the ShowDialog Entry.

It looks like

In the Dialog's java class, in the Validate() method, I get the object IDs and can perform the check-in itself, no problems with that, however, the question is:

How do I get the File from the client machine knowing that:

  1. The files are note necessarily in the checked out directory define in the user's preferences (we have a customization that moves the files around due to an old Windows app on the client machine)
  2. The file names are not (depending on the object type) always using the object name

Those 2 requirements mean that I can't just code the file path on the client machine and let the servlets do the job.

Any idea on how I can get the file url?

PS: it is D2 23.4 but will eventually need to be in later versions too

Answers

  • Forgot to mention that I'd be more than happy to display the checkin dialog once for all the checked out docs selected instead of my UI, as it was done in the old days of Desktop client……

    Any taker?