Aspose.Diagram for .Net does not support external excel data in .vsdx files

External data from the UseExternalData.vsdx file (from the attached zip) is lost while opening and saving it with the following code (see UseExternalData_saved.vsdx):

var diagram = new Diagram(@"C:\work\test\UseExternalData.vsdx");
diagram.Save(@"C:\work\test\UseExternalData_saved.vsdx", SaveFileFormat.VSDX);

The data referenced is in data.xlsx. After the constructor call diagram.DataConnections is also empty, though this was not the case for a .vsd version of the original file.

Thanks for any help. (153.0 KB)


Thanks for contacting support.

We were able to replicate the issue in our environment and logged it as DIAGRAMNET-51625 in our issue tracking system for the sake of correction. We will definitely let you know as soon as we have some updates regarding its rectification. Please spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51625) have been fixed in Aspose.Diagram for .NET 19.4.

1 Like