Menu

#323 MPP - Outline code lookup tables do not show up

v1.0_(example)
closed-fixed
Jon Iles
9
2018-03-09
2018-02-15
P D
No

I'm trying to read the outline codes - while the outline codes are being read fine, the lookup tables are Not. I've tested this on several MPP files, and have ensured that there are lookup tables present for the outline codes.

My application is .Net, and I'm using MPXJ via IKVM.

Code is below. The outline code names show up, but the lookup table size is 0 everytime.
I've also attached a screenshot from a MPP file - for instance, the custom fields '00:Phase' through '04: Wrong Phase' all show up in the console, but the lookup table size is 0.

Much appreciated!

private void outlinecodereader(ProjectFile project)
{
    foreach (CustomField outlinecode in project.CustomFields)
    {
        Console.WriteLine("Outline Code Name = " + outlinecode.Alias + "; count = " + outlinecode.LookupTable.size);
    }
}
1 Attachments

Discussion

  • P D

    P D - 2018-03-08

    So, looks like this is related to bug #324.

    What's happening is:
    (a) if there is a custom name for the field, the alias is picked up but the lookup table is NOT.
    (b) if there is no custom name but the field is left at the default, the alias is NOT picked up but the lookup table is picked up this time.

    Attached are the MPP files, and screenshots from my program's output.

     
  • Jon Iles

    Jon Iles - 2018-03-09

    I believe this is fixed by the change I've just committed to GitHub. The fix will form part of the next release of MPXJ (probably next week) let me know if it is still an issue for you.

     
  • Jon Iles

    Jon Iles - 2018-03-09
    • status: open --> closed-fixed
     
    • P D

      P D - 2018-03-15

      Unfortunately, the outline code lookup tables still don't show up. The size is displayed as 0.
      The text custom field lookup tables are displayed correctly however. Please find attached, the MPP file I'm using.

       

Log in to post a comment.

MongoDB Logo MongoDB