Menu

How to List All Fields on Document

2007-05-28
2013-06-03
  • Nobody/Anonymous

    Hello again;

    I think that i get addicted about Lotus and Domingo API. I'm now able to open a server connection, getting a database handle, getting all document properties, creating a document.

    My question is how can i fetch all available fields which can be filled by a user on a Document?

    An example:

    DDocument dDoc =  dDatabase.getDocumentByUNID("Document Universal ID here");   

    "dDoc.getItems" will return an Iterator about "filled" fields on this document that i've opened. I'm looking for getting all fields even if it's not filled by user.

    Thanks in advance;

    Sincerely yours;

    Remi.

     
    • Kurt Riede

      Kurt Riede - 2007-06-28

      A field and the list of all fields are properties of a form, not a document.
      To get a list of all fields of a form, Lotus offers the interface lotus.domino.Form with the method getFields().
      Unfortunately this interface is not yet covered by domingo. Please submit a feature request if you would like us to implement this in the next release.

      Best regards

      Kurt

       
    • Nobody/Anonymous

      Hello Kurt;

      I have opened a "feature request". http://sourceforge.net/tracker/index.php?func=detail&atid=816616&aid=1747014&group_id=160629

      Thanks in advance.

       

Log in to post a comment.

MongoDB Logo MongoDB