BPM, Workflow, and Case

 View Only

Updating the data in ECM File List

  • 1.  Updating the data in ECM File List

    Posted Fri October 08, 2021 08:41 AM
    Greetings,

    We are using ECM FIle List to display a set of documents on Modal Dialog. On this dialog we have given a checkbox, once user enables this checkbox we are calling a service and which is returning new set of documents. Once the service returns results we are trying to set the new data in ECM File List but it is not working. below is the code for the same. Can someone suggest how this can be done ?

    console.log("Result :::",this);
    console.log("Data :::",me.getData());
    console.log("items :::",me.getData().resultSet.row.items);
    view.ui.get("ECM_File_List1").setViewData(me.getData().resultSet.row.items);

    Thanks

    ------------------------------
    Lakshya Agarwal
    ------------------------------