We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Migrating Task.geCustomProperties from 7.4.1 to 17-1


With tasks java 7.4.1 we used to retrieve custom properties like that:

final Map<?, ?> props = project.getCustomProperties();
if (props != null) {
for (final Map.Entry<?, ?> meta : props.entrySet()) {
if (meta != null) {
final String key = meta.getKey().toString();
final String name = “project_” + key;
final String value = meta.getValue().toString();

Now with 17-1, getCustomProperties return a private class (com.aspose.tasks.private.Collections.Generic.IGenericDictionary)

How can I adpat this code ?



Hi Sebastien,

Thank you for contacting Aspose support team.

I have tried to reproduce the scenario using own sample file but could not observe it. Could you please send us your sample project file containing custom properties? We will analyze it and provide you assistance accordingly.

My question was already about making compile this code with
Did you manage to do it ?

Hi Sebastien,

We couldn’t manage to do it at our end as well and have raised the issue with our Product team for further information. We’ll update you here as soon as some information is available in this regard. We appreciate your patience until then.

Hi Sebastien,

The issue has been logged as TASKSJAVA-332 for rectification at our end. Our Product team will look into this and we’ll update you here once there is some feedback or a fix version available in this regard.