Delete data list not working

Confluence User - 15 Feb, 2021

Hi,

I have create a data list based on a form and placed a delete row link. When I click on it , the page refreshes but nothing happens. The record is not deleted. The delete link is connected to the form.

forms;datalists

4


15 Feb, 2021
confluenceUser
confluenceUser

Did you configure the delete action to point to the main form? Can you share screenshots or steps to replicate your problem?

15 Feb, 2021
confluenceUser
confluenceUser
{
    "id": "listadmin",
    "name": "listadmin",
    "pageSize": "0",
    "order": "",
    "orderBy": "",
    "showPageSizeSelector": "true",
    "pageSizeSelectorOptions": "10,20,30,40,50,100",
    "buttonPosition": "bottomLeft",
    "checkboxPosition": "left",
    "useSession": "false",
    "considerFilterWhenGetTotal": "",
    "description": "",
    "actions": [],
    "rowActions": [
        {
            "name": "Form Row Delete Action",
            "className": "org.joget.apps.datalist.lib.FormRowDeleteDataListAction",
            "label": "Delete",
            "type": "text",
            "id": "rowAction_0",
            "properties": {
                "label": "Delete",
                "formDefId": "diploma",
                "confirmation": "sure?",
                "deleteGridData": "",
                "deleteSubformData": "",
                "deleteFiles": "true",
                "abortRelatedRunningProcesses": "true",
                "datalist_type": "row_action",
                "rules": []
            }
        }
    ],
    "filters": [],
    "binder": {
        "className": "org.joget.apps.datalist.lib.FormRowDataListBinder",
        "properties": {
            "formDefId": "diploma",
            "extraCondition": ""
        }
    },
    "columns": [
        {
            "id": "column_0",
            "label": "Fakulteti",
            "displayLabel": "Fakulteti",
            "name": "fakulteti"
        },
        {
            "id": "column_1",
            "label": "Emri",
            "displayLabel": "Emri",
            "name": "emri"
        },
        {
            "id": "column_2",
            "label": "Mbiemri",
            "displayLabel": "Mbiemri",
            "name": "mbiemri"
        },
        {
            "id": "column_3",
            "label": "Atesia",
            "displayLabel": "Atesia",
            "name": "atesia"
        }
    ]
}

Yes I did.

16 Feb, 2021
confluenceUser
confluenceUser

I can see 

"formDefId": "diploma"

on both data binder and delete action. They should work. Records should delete.

Can you attach your app with sample data so that I can try to replicate?

17 Feb, 2021
confluenceUser
confluenceUser

I exported the app and imported in my local pc joget installation. The only thing I changed is to allow admin user to run the process to create a new record and now admin can delete from data list. Could it be a permission issue? I don't kow how to export with sample data. When I exported it was empty

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print