Hi guys
New a method like this
Item mainItem = this.newItem("MainItem", "get");
mainItem.setID("SysID");
mainItem = mainItem.apply();
//Add Relationship
var relItem = innovator.newItem("Detail_File","add");
relItem.setProperty("related_id","fileID_A");
mainItem.addRelationship(relItem) ;
var relItem = innovator.newItem("Detail_File","add");
relItem.setProperty("related_id","fileID_B");
mainItem.addRelationship(relItem);
//delete relationship
//I want to delete fileID_A Relation (But right now not save in DB so i can't get fileID_A Sys ID to delete)
mainItem=mainItem.apply("edit");
How can I do?