Get custom field value for task in mpp file using mpxj

295 views Asked by At

I am trying to fetch value set for a custom field for a task in a mpp file. Please help me find the right method in mpxj.mpp library.

I have tried the below code:

object fld = task.getFieldByAlias("EPC");
if (fld != null)
  Console.WriteLine("Custom Field Value : " + Convert.ToBase64String((byte[])fld));

However, the value I got is a set of characters which were not meaningful.

0

There are 0 answers