Link a file uploaded and the file generated by a rule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 04:28 AM
Hi,
i've actually a rule who generate a 2nd file when one is uploaded, i'm using api and it's working well
i'm looking for a way (using rule or not) to create a link between the original file and the one who is created using the rule, adding an aspect with a property or anything else i can use it later
if anyone has a clue thanks
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 07:37 AM
Hi!
Do you can use javascript and createAssociation(target, assocType) in a rule, for example.
Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 05:23 AM
thanks for answer i'm trying this solution but It's weird i was thinking to do this kind of script i only have to put it in Data Dictionary/scripts folder (there is already original scripts from the installation in there) but i can't find them, i find only one who is not even in that folder ... :
do i need to declare the script files somewhere ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2017 08:59 AM
Mmm, confirm your script file how javascript in mimetype.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2017 08:13 AM
yes that's it thanks
