-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API to trigger actions, e.g., DMS Export #5980
Comments
First of all, I really like the idea of having an API where I could trigger certain actions. One thing that comes to mind is operating on processes, like KitodoScripts do which to my knowledge can currently only be operated through the GUI. When it comes to the DMS-export (a feature I have never used and currently have no clue about its purpose and function) I have to ask: why would you want to control it through an external application instead of making it an automatic step as described in the documentation? I hope answering these questions helps to clarify the importance of your suggestion. (: |
Ok, I have looked up the dms-export function in the documentation by now and understand its purpose. We are probably going to use this at some point. From what I gathered it is currently possible to make a workflow step at the same time automatic and a dms-export. |
Thanks for the questions.
|
Maybe with the following solution, you can get rid of the script that imitates a user:
Here is what i do, if i want to export metadata of many processes. This works in the SLUB Dresden for around 1500 non-hierarchical processes without image data.
Most of the time has to be invested in managing the Excel file. However, if you know how many processes can be exported (e.g. per day) and if these are correctly marked as exported, you can integrate this quite well into your day-to-day business. Aborted exports are documented in a log. We have a lot of misspelled values for collections, script types, ... because we used the value lists for these elements in Kitodo.Production 3. It is an effort to correct the processes, but afterwards, you will have correct data. If i did not understand your requirements and this does not help you, just ignore it ;-) |
Votes: 2 |
Thanks(!) for the hint that Export DMS can be triggered via the action-menu. This is a nice backup in case our script does not work anymore but shifts the work (in our case back) to the end user. Anyway, ... it seems to have not a high priory in the community (currently) and maybe such a service can be provided in future via ActiveMQ. |
That is true, but in my opinion, the most effort is to define the list of processes, which should be exported. For projects with less then ~1.000 processes, you might not need to create the Excel list and just export the processes at once. Then, the export is quite quick. |
I'm reopening this issue because the functionality is not yet implemented. Others also need these if clicking is not an option in an automated system. |
Description
An interface (API) that allows (external systems) to authenticate and trigger certain actions, e.g., a DMS Export for a certain process in Kitodo.
Expected Benefits of this Development
Currently we publish a finished process to our presentation platform, need the mets file for that and hence have a script that imitates a user, signing in and click DMS-Export. This is cumbersome and the script needs to be adapted if changes in the GIU happens after an update. An interface would be more appropriated here.
Estimated Costs and Complexity
For this specific task, the exp. costs are probably low.
The text was updated successfully, but these errors were encountered: