How to add a new parameter to an existing operation?

Hi,

I'm trying to create a relationship between two elements with the help of the operation Document.AddRelation. This operation has three parameters and I'm using all of them. Furthermore, I have to pass another parameter, the quantity of times this relations repeats. My idea is to add this parameter to the operation but I'm not sure if it's possible.

Thanks for the help, Iker

0 votes

1 answers

726 views

ANSWER



It sounds like you may want to contribute your own operation. This way you can dictate how many parameters are accepted. Maybe you can create an operation with a parameter that is a list.

https://doc.nuxeo.com/nxdoc/contributing-an-operation/

0 votes