on 05-26-2021 1:23 PM
Hi folks!
I am using sap.suite.ui.commons.CalculationBuilder (version 1.71) and creating custom variables that can be used inside the calculation builder.
But the number of vairables are limited to 100.
Is there any way to increase this size?
I am currently binding the variables to a local model {calcModel>/variables}, which in this case has 116 entries, but when I retrieve or display the variables, it only shows the first 100.
This is an extract from console:
Any advicee will be welcomed!
I have fixed the issue by adding the variables manually and not binding it to a model:
this.getModel("variables").getData().forEach(function (oVariable) {
oBuilder.addVariable(new CalculationBuilderVariable({
"key": oVariable.CriteriaId,
"label": oVariable.CriteriaText
}));
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yourjsonmodel.setSizeLimit(99999)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.