Help

Greetings, I need help with BPM 7.3 and realization of:

this.filterPath,
this.filterValue.

 

define("MapDetail", ["terrasoft","Segment","MapHelper","Promise"],
    function(Terrasoft,entitySchema,MapHelper,Promise){
        return {
            entitySchemaName: "Segment",
            attributes: {},
            methods: {
                    init : function (reload) {
                    this.callParent(arguments);

                    var filters =
                        {
                            filterPath: this.filterPath,
                            filterValue: this.filterValue
                        };
                        gridData = this.getGridData();
                        editingMode = true; 
                    MapHelper.GetMap(gridData, null, editingMode, filters, !reload);
                },
                reload : function () {
                            this.init(true);
                }
            },
            diff: []
        }
    }
);

For some reason it gives "undefined"

File attachments

Like

1 comments

Hello Sophie!

I would recommend using this.get("DetailColumnName")instead of this.filterPath. 

This record allows you to get detail column for filtering.

Also use this.get("MasterRecordId") instead of this.filterValue

Show all comments