Anonymous
292 Views, 0 Replies

2 bugs in fabrication 2020 .net api - Item.ChangeConnector Method

We believe there are 2 bugs in the fabrication 2020 .net api regarding the Item.ChangeConnector method:

 

1) we are not able to set connectors to None. According to the chm: "To set the Item's Connector to "None" set "updateConnector" parameter to null." - this doesn't work. The result status is failed with the comment that the updateConnector can't be null. We don't think the .net sample application let's you set connectors to None either. we have not found a workaround for this issue. is there one?

2) after running item.ChangeConnector(updateConnector, connectorIndex) successfully, the item's connectors are not updated. A workaround for this issue is to explicitly reload the item, i.e.  theItem = ContentManager.LoadItem($"{theItem.FilePath}{theItem.Name}.itm");

 

Any help on this would be appreciated. Cheers, Gregor

Tags (2)