• Coy DePratt
    April 13, 2020 at 11:43 am #5762

    Since the data inside the BPM Document List does not populate via the bound data object. I am unsure how to validate the control.

     

    A more basic question might be, how do I access the data inside of the document list control inside of a button click event handler

    SPARK Support
    April 14, 2020 at 4:54 pm #5765

    Hi Coy,

    The only context variable that the On Flie Clicked event provides is “doc”.  I would suggest placing a debugger; statement in the On File Clicked event to pause execution when the even is fired and explore the properties of the object in the console.

    Currently, the BPM Document List control does not provide a method to explore the internals of the returned results.  If you feel that this should be an Out of the Box feature, please submit a Request for Enhancement to IBM at: https://www.ibm.com/support/pages/submit-request-enhancement-rfe

    However, you may wish to try getting a reference to the underlying Service Data Table.  Keep in mind, this naming convention is subject to change at any time.  (ie: /BPM_Document_List1/BPMFileList/DocList) Then, use .getData() to retrieve the properties. For instance, .getData().items[0].

    Regards,

    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search