cancel
Showing results for 
Search instead for 
Did you mean: 

bean configuration to excecute scripton doc upload

shikha
Champ in-the-making
Champ in-the-making
Hi All,

I need bean configuration to execute below js on fileupload. anyidea??

document.specializeType("custom:dtls");
document.save();

Thanks inadvance
1 REPLY 1

gravitonian
Star Collaborator
Star Collaborator
If you want to execute that JavaScript on file upload, then add a rule to the folder you are uploading to, or a parent folder, that executes this script. The script file is put in /Data Dictionary/Scripts. No need to create/configure Spring beans. Make sure also to have a content model deployed with the type custom:dtls available.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.