cancel
Showing results for 
Search instead for 
Did you mean: 

Link a file uploaded and the file generated by a rule

aliiiiii
Champ in-the-making
Champ in-the-making

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 Smiley Happy thanks

4 REPLIES 4

fegor
Star Collaborator
Star Collaborator

Hi!

Do you can use javascript and createAssociation(target, assocType) in a rule, for example.

Regards.

aliiiiii
Champ in-the-making
Champ in-the-making

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 ?

fegor
Star Collaborator
Star Collaborator

Mmm, confirm your script file how javascript in mimetype.

aliiiiii
Champ in-the-making
Champ in-the-making

yes that's it thanks Smiley Happy