Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

You already figured out how to modify the document list and add another column.

Probably the easiest way to do it is to create a PM Table which has the fields APP_DOC_UID, DOC_VERSION, EXTRA_INFO and create records in the PM Table for each file. Then change the PM source code to lookup the APP_DOC_UID and DOC_VERSION in order to display the EXTRA_INFO field in the additional column.
No, My questions are different here :?:

:arrow: I have added column in Processmaker source code. Can i add the same code from my plugin :?:
:arrow: My problem is that I would like to add the grid column from my plugin to the document manager :?:
:arrow: I would like to know how to append the two columns with that table via My plugin. Becuause it has been done via Ext Js Frame work. To add the headers below i have attached an image
document.png (33.27 KiB) Viewed 67 times
:arrow: I know that it's in the <intalled-directory>\workflow\engine\templates\cases\casesDocuments.js as you said before in the fourm. But this looks like an object it just render by having column name and id. So i would do the same from my plugin. For exmpale in casesDocuement.js page:
Code: Select all
var cm = new Ext.grid.ColumnModel([{
        id: "gridcm", //id assigned so we can apply custom css (e.g. -> .x-grid-col-topic b { color:#333 })
        header: _("ID_NAME"),
        dataIndex: "name",
        width: 200,
        renderer: renderFileName,
        sortable: true,
        groupable: true,
        editor: new Ext.form.TextField({
            allowBlank: false
        css: "white-space:normal;"
    }, {
        header: _("ID_VERSION"),
        dataIndex: "docVersion",
        width: 100,
        align: "center",
        renderer: renderVersion
    }, /* expander, */ {
        header: _("ID_MODIFIED"),
        dataIndex: "appDocCreateDate",
        width: 100,
        sortable: true,
        renderer: renderModifiedDate
    }, {
        header: _("ID_OWNER"),
        dataIndex: "owner",
        width: 100,
        sortable: false,
        groupable: true,
        renderer: renderFullName
        //sortable: false
:arrow: Just defining the header attribute and dataIndex it automatically renders.
:arrow: So how can i append my column header when My plugin enables. Is that possible :?:
:arrow: Could you please give me an idea :?:

Hello there, We are using PM Enterprise version 3[…]

Detail information, thanks for your sharing.

Don't forget to unblock the core tables: https:/[…]

Oh, Really thank you Amos