newResult.setProperty(“id”,input.ToString());
Id is a system property, so you cannot overwrite it. If you want to link the Input-Item, use an additional property for storing the value:
newResult.setProperty(“input_id”,input.ToString());newResult = newResult.apply();
if (newResult .isError())
{
return inn.newError(newResult .getErrorDetail());
}
3. One of your properties is called date. Is this one really a String property?
4. Are the field sizes equal?
5. Can Add / Permissions correct?
6. If you try the other properties indepentently, do they all work?
7. Where do you trigger this code and which event is used?Innovator innovator = this.getInnovator();
string input = this.getProperty("string");
string input1 = this.getProperty("string1");
...
Item newResult = innovator.newItem("Result","add");
newResult.setProperty("id_input",input);
newResult.setProperty("date",input1);
...
newResult = newResult.apply();
return innovator.newResult(input1);newResult.setProperty("id_input",input1); newResult.setProperty("date",input1);newResult = newResult.apply(); return innovator.newResult(input1);
Copyright © 2025 Aras. All rights reserved.