Filled shape date for page are not displayed in Visio

Hi all,
I’m trying to file shape data for page using:
Diagram diagram = new Diagram(“c:\tmp\Template.vstx”);
Page page = diagram.getPages().get(0);
PropCollection pagePropCollection = page.getPageSheet().getProps();
for (int i = 0; i < pagePropCollection.getCount(); i++) {
Prop prop = pagePropCollection.get(i);

prop.getValue().setVal(value)
}

diagram.save(outputFileName, diagramSaveOptions);
diagram.dispose();

I can see filled value using another my code:

	Page page = diagram.getPages().get(0);
    PropCollection pagePropCollection = page.getPageSheet().getProps();
for (int i = 0; i < pagePropCollection.getCount(); i++) {
	    Prop prop = pagePropCollection.get(i);
    String name = prop.getName();
    String value = prop.getValue().getVal();
   ...

But I cannot see any values is Visio “Shape Data - ThePage”!

Can you help me, please?

I’m using:
aspose-diagram-22.10.0.jar
Microsoft® Visio® Plan 2 MSO (Version 2210 Build 16.0.15726.20070) 64-bit

I can send you source code, visio template and result visio file.

BR
Radek

@rdocekal

Yes, please share the sample files in .zip format with us as well. We will further proceed accordingly.

Hi all,
see attached zip file file:

  • source code
  • visio template
  • visio result file
  • screenshot with empty value in page data sheet.
    Thanks.
    IssuePageProps.zip (67.4 KB)

Can you see attachment?

BR
Radek

@rdocekal

Yes, we can see the attached files and have logged an issue as DIAGRAMJAVA-51053 in our issue tracking system to further investigate this case. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

@rdocekal

Please try to use the below code snippet and the data will be displayed:

if (name.equals("ARIS_GUID")) 
{
 prop.getValue().getUfev().setF(""); //add this line to clear formula.
 value = "6fc48f98-9763-11e9-09a3-000d3a2af140";
} 

Thanks a lot for your answer.
It works! No more question about this topic.

@rdocekal

Thanks for the feedback. Please feel free to create a new topic in case you need further assistance.