Hello everyone, I have one small issue and i cant fix it. I have an entity with some attributes and one of them is attribute called ‘Number’ and the type of that attribute is ‘Autonumber’. When i want to publish my app, the error occurs like below: “Attribute ‘Number’ cannot have write rights because it is an auto-generated number’. Do you guys know how to solve this problem?
asked
Norbert Lipiński
2 answers
0
This sounds like an issue with your entity access rules. Perhaps you need to change them to read only for the attribute number, for all roles.
answered
Nikolaus Weiss
0
The answer of Nikolaus is wrong. Autonumbers are always generated by Mendix and thus can only have read rights. If you want to be able to change this it should not be an Autonumber but a number you generate yourself.