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:
- 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)
- 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