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

Free Support Forum - aspose.com

Reading hyperlinks in MPP file

Hi,

I want to read hyperlinks present in a mpp/mpx file.
I’m using Aspose Tasks for Java.

Request your assistance,

Regards,
Vineet

@vineet992,

Thank you for contacting Aspose support team.

You may please use following sample code to read the hyperlinks from the MPP file and share the feedback.

Project prj = new Project("Project1.mpp");
Task tsk = prj.getRootTask().getChildren().getById(1);
System.out.println(tsk.get(Tsk.HYPERLINK));

Resource rsc = prj.getResources().getById(1);
System.out.println(rsc.get(Rsc.HYPERLINK));