Username and password cannot be empty

1
This message “Username and password cannot be empty” appears when I try to create a new object. How do I solve this problem?   Much appreciated 
asked
2 answers
1

Hi Joe,

I think you gave generalization to Administration.Account so there is username and password is required(Or cannot empty) Or gave validation Type ‘Required’, I suggest you remove the generalization of  Administration.Account or change validation Type ‘Required’ to ‘none’.

So it will help you to solve this .

answered
0

Hi Joe. Since you are seeing this message, it seems like your object is a specialization of System.User or Administration.Account. I tested this out in a local test project and got the same popup message when trying to commit an object that is a specialization of either of these two entities with no username or password set.

If it is vital that your object be one of these specializations, then I suggest adding these fields in your input form to fill out. If it is not necessary for your object to be one of these specializations, then I suggest clearing the “Generalization” field of this object in your Domain Model.

answered