I have a form that contains a field of type Document and which displays an embed

I have a form that contains a field of type Document and which displays an embedded PDF. This works fine. However, when I add a paging grid to the form in order to display some other data, the form throws a system error and won't display. If I remove the Document field, the paging grid displays with no problem. So the paging grid and the Document field both work by themselves but not on the same form. Also, I if go back into the task a second time the form will display both the grid and the PDF without issue. Why does it blow up the first time I try to display the task?...

OriginalPostID-104195

OriginalPostID-104195

  Discussion posts and replies are publicly visible

Parents
  • Some more info on this...here's the appian log error:

    2014-03-20 13:05:56,940 [http-/0.0.0.0:8080-23] ERROR com.appiancorp.km.actions.GetDocumentAction - The Document id is invalid. (id=)
    java.lang.NumberFormatException: For input string: ""

    For some reason the document ID is apparently null when it tries to load the document. But if remove the paging grid, this doesn't happen. The document load works fine. Also, I can re-display the task form after the error occurs and the document loads fine.
Reply
  • Some more info on this...here's the appian log error:

    2014-03-20 13:05:56,940 [http-/0.0.0.0:8080-23] ERROR com.appiancorp.km.actions.GetDocumentAction - The Document id is invalid. (id=)
    java.lang.NumberFormatException: For input string: ""

    For some reason the document ID is apparently null when it tries to load the document. But if remove the paging grid, this doesn't happen. The document load works fine. Also, I can re-display the task form after the error occurs and the document loads fine.
Children
No Data