// The path to the documents directory. String dataDir = Utils.getDataDir(WriteReadFormula.class); Project proj = new Project(dataDir + "FormulaField.mpp"); // attached test mpp ExtendedAttributeDefinition attr = proj.getExtendedAttributes().get(0); System.out.println("Attribute Formula: " + attr.getFormula());