Question

Modify Lead Stage Number

How can i modify Lead stage progress bar number from 5 to 3 in lead list 

Like 0

Like

3 comments

Hello, 

You would need to implement your own control similarly to the BaseProgressBarModule and use it in the section, overriding method applyControlConfig in LeadSectionV2. 

Best regards,
Dennis

Hi Mokded,

In LeadSectionV2, you can add this code to change process bar from 5 to 3

applyControlConfig: function(control) {
                        control.config = {
                            className: "Terrasoft.BaseProgressBar",
                            value: {
                                "bindTo": "QualifyStatus",
                                "bindConfig": {"converter": "getQualifyStatusValue"}
                            },

                            maxValue: 3,
                            width: "158px"
                        };
                    }

Regards,

Phuong ND

Hi Mokded,

If you only want to change number from 5 to 3 in lead list, you can add this code to method applyControlConfig in LeadSectionV2 as below:

applyControlConfig: function(control) {

                    control.config = {

                        className: "Terrasoft.BaseProgressBar",

                        value: {

                            "bindTo": "UsrAccStage",

                            "bindConfig": {"converter": "getUsrAccStageValue"}

                        },

                        width: "158px",

                        maxValue: 4

                    };

                },

Regards,

Phuong ND

Show all comments