bean configuration to excecute scripton doc upload
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 05:13 AM
Hi All,
I need bean configuration to execute below js on fileupload. anyidea??
document.specializeType("custom:dtls");
document.save();
Thanks inadvance
I need bean configuration to execute below js on fileupload. anyidea??
document.specializeType("custom:dtls");
document.save();
Thanks inadvance
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 08:26 AM
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.