Why doesnt the toggling of the check box change the boolean attribute of my entity?
1
I have a checkbox on a dialog, somewhere doesn’t matter where like in the picture below: This has a datasource the following boolean attribute: For all possible user roles I have set the access rules to both read and write: but for some reason, after succesfully building the project, the attribute of that particular object doesn’t change from false to true, and I don’t understand why.
asked
Marcian-Petrut Bondoc-Popescu
2 answers
4
And one obvious one: did you really commit the object. If I show a dataview where you can toggle this boolean and I navigate away the change is not stored unless you had an on change action that commits that object.
If you have a regular save on the object you could change this to a custom save microflow so you can debug what the values are. And indeed do not forget to check your console for security problems as reason why the object is not changed.
Regards,
Ronald
answered
Ronald Catersels
2
The only possible reasons that I can think of are:
Maybe the object you're trying to modify is always created rather than retrieving from the database – take for instance retrieving via microflow which is setup incorrectly. You should check if the object you check the value for and the object you set the value for are both same.