// Create the CAD Document item
var docItem = MyInnovator.newItem("CAD", "add"); docItem.setProperty("item_number", "CADDoc 004");
// Create the relationship between the CAd Document and File var relItem = MyInnovator.newItem("CADFiles", "add"); relItem…