Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi, since you are duplicating the database record, I believe you should also make a copy of the file into the appropriate directory for the correct record id.
Do you think we should develop a kind of webservie for this purpose? The service receives, for example, the id of the original record and the new id and that with this information makes the necessary movement of the files?
Yes that sounds like a good idea
Hello team. There is a situation in which, through a plugin with beanshell, a record made through one form must be replicated in another. So what we are doing is generating a new unique id for the record and making an insert directly to the database.
However, if an attachment was mentioned in the original record, we have to simply replicate the name of the file that is described in the field of the database? We have seen that links to attachments are related to the original record that generated them, so the download service does not find the complete file when they are duplicated in the DB (it shows error 404). Similar case with the images. Do you have an idea to do this duplication of records without losing the link of the attached files and images?
regards