LLUnknownFieldException2
Hi there, I am trying to add folder(object) under a newly creatd Folder(Object) by getting the ID from the newly created Object, butit gives me Unknown Field Exception Error. Please Help. Code is as under......public static void main(String[] args) { try { int volumeID; int nodeID; LLSession session; LAPI_DOCUMENTS documents; LLValue value = (new LLValue()).setAssocNotSet(); LLValue info1 = (new LLValue()).setAssocNotSet(); LLValue info2 = (new LLValue()).setAssocNotSet();session = new LLSession(); //I passes the required parametrsdocuments = new LAPI_DOCUMENTS(session); if(documents.AccessEnterpriseWS(value) == 0) { volumeID = value.toInteger("VolumeID"); while(true) { String partyName = lastName + ", " + firstName; documents.CreateObjectEx(volumeID,7451,0,0,partyName, info1, info2 ); int objID=info1.toInteger("ID"); documents.CreateObjectEx(volumeID, objID, 0, 0, partyName, info1, info2 ); documents.CreateObjectEx(volumeID, objID, 0, 0, "ABC", value, info2 );documents.CreateObjectEx(volumeID, objID, 0, 0, "XYZ", info1, info2 ); } } } catch(Exception e) {System.out.println(e);} }REPLY BACK AT : pjsinghp@rediffmail.com