on 2023 Aug 24 10:46 AM
I've got a not nullable field in OData V2:
<Property Name="Regnum" Type="Edm.String" Nullable="false" MaxLength="35" sap:unicode="false" sap:label="EMD reg. nr."/>
The Object page marks the input as required; however, it is not validated, and POST is sent without field's value to the back end.
What could be a reason for such behavior?
Thank you.
Request clarification before answering.
Hi,
As far as I know for object page you have to do this check yourself in the backend.
For SmartField this validation is done automatically in front-end (altough for safety reasons I suggest doing it in the backend as well).
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are there any local annotations in this app that may be overwriting the behavior of the field in the backend?
try refreshing the metadata and see if there are local annotations
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
21 | |
9 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.