Groovy scripting multilist populaation for Agile PLM API
We are trying to populate the default values of a multilist field with the use of a groovy script.
The following Java code was used as a starting point from the SDK guide. Various attempts to try different variations of this but the only way the multilist is populated is when the list is hardcoded.
We can't seem a way to populate multiple values like would be intended by the script below. Any samples of how to accomplish this in Groovy for Agile PLM would be much appreciated.
listProdLine.setValue("hardcoded value");
The following Java code was used as a starting point from the SDK guide. Various attempts to try different variations of this but the only way the multilist is populated is when the list is hardcoded.
We can't seem a way to populate multiple values like would be intended by the script below. Any samples of how to accomplish this in Groovy for Agile PLM would be much appreciated.
listProdLine.setValue("hardcoded value");
An attempt was made to to create an object as follows according to the JDK. It looks like this syntax will no work in Groovy as it gives an invalid token error when validating as well as there is some mention online of this syntax no working in Groovy, only in Java.
0