• Srikanth Ganesan
    November 30, 2016 at 1:33 am #3194

    Hi,

    I am trying to delete the documents in the BPM file list control & I do not get any handle in the delete event. I need an handle to get  the properties tagged with the file that I am deleting ? How is this possible & I am using 4.4.1 version of SPARK UI ?

    – Srikanth G

    SPARK Support
    November 30, 2016 at 3:39 pm #3201

    Hi Srikanth,

    The BPM File List does not currently provide access to the document properties when deleting.  Only the On File Clicked event contains access to the document through the URL returned. Unfortunately, by the time the On Document Deleted is called, the file has already been deleted.

    However, with the Enterprise version of the Toolkit, it would be possible to create a custom method based on the private method that calls the document delete service.

    The following article contains the publicly available methods:

    http://support.salientprocess.com/docs/enterprise/BPMFileList.html

    Regards,

    Stephen P.

    Srikanth Ganesan
    December 1, 2016 at 5:33 am #3205

    Hi Stephen,

    Thanks for the insight. Yes, I am using Enterprise edition only.

    Are there examples (or) steps on how to achieve the creation of custom method based on the private method ? We need this working as we want to do soft-delete rather than hard-delete the documents.

    Regards

    Srikanth G

    SPARK Support
    December 1, 2016 at 12:05 pm #3210

    Hi Srikanth,

    Here is a list of the articles we provide:

    https://salientprocess.zendesk.com/hc/en-us/sections/200948628-How-To

    The article on Creating Your Own Control does explain how to interact with some of the JavaScript  methods.  Please note that methods created by the customer would fall outside the scope of support.

    Regards,

    Stephen P.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search