How to detect a DataRecordSetCollection on VSDX with aspose java


#1

Hello,

I am trying to detect DataRecordSetCollection on Visio file.
I can detect it with a VSD file but not with a VSDX file, is it normal?
How can I do that?


#2

@vparent

Could you please share your sample VSDX file with us along with the code snippet that you are using to detect DataRecordSetCollection in VSD file. We will test the scenario in our environment and address it accordingly.


#3

Hello,
Yes I can, I tried when I created this topic to add file but it was not working on my side.
Let met try again.
03_vsdx_autorefresh.zip (61.0 KB)

The file is containing a autorefresh data link; but I cannot detect it.
I created the same with VSD (03_vsd_autorefresh.zip (2.0 MB)
), and this works perfectly. I can detect it through aspose.diagram.

If you can help me on that part?


#4

@vparent

Thanks for sharing sample files.

As requested earlier, please also share sample code snippet which you are trying at your end so that we can test the scenario accordingly.


#5

Hello @asad.ali,

Sorry, I was focused on file share…

The code I use :
Diagram document = new Diagram(filepath);
DataRecordSetCollection records = document.getDataRecordSets();
if (records.get(i).getRefreshInterval()>=1) throw new AutoRefreshException();

I need to detect the data record, to avoid issue during rendition process (operated by Adobe Experience Manager).

I used the aspoe.diagram v18.6 and yesterday I updated the lib by 19.6 and I can detect on both cases :slight_smile:

The resolution has been done by updating lib.

Regards,


#6

@vparent

It is good to know that your issue has been resolved by using latest version of the API. Please keep using our API and in case of further assistance, please feel free to contact us.