Forum Discussion

wkennis's avatar
wkennis
Guide
3 years ago
Solved

batch processing not working in my custom component.

I added batch processing to custom components on a blog overview page.

Ik used the code i found here: https://community.khoros.com/t5/Developer-Discussion/batch-processing-checkbox-in-custom-components/m-p/278831

The checkboxes show correctly when the batch processing is enabled. When i try to delete multiple items and haven't selected any checkboxes I get an error message saying i didn't select any items.
When I select the checkbox(es) and klik delete the selected items, no error displays but the delete function (or any other function) doesn't get triggered.

But it does recognize the fact that i did or did not select the checkbox.

Is there something i'm missing that i should add to the page?

  • I got this to work, i was adding the wrong id in the checkbox i created.

    I now added board_relative_id.

4 Replies

  • wkennis's avatar
    wkennis
    Guide
    3 years ago

    hi MohammedSh

    I based the code that I implemented on the code in the post you refer to, as i stated in my post. But I still get the behaviour that I described.

  • MohammedSh's avatar
    MohammedSh
    Khoros Alumni (Retired)
    3 years ago

    wkennis, thank you for trying the solution from that post. As it didn’t work, please email our support team at [email protected] and create a support ticket.

  • I got this to work, i was adding the wrong id in the checkbox i created.

    I now added board_relative_id.