Workload Manifest Schema Version (if relevant)
No response
Your Question
Users of our workload may rename assets using the settings ui. Because of the way we process our assets, we need to validate the name that the user enters. For example, we do not allow names to begin with a number. When we get the update request and the name is invalid, we are returning a statusCode of 400 (bad Request). I have also tried to return 406 (unacceptable). In either case, the Fabric UI continues to show the invalid name.
How can we reject the name change and have the UI revert? Is there a way to validate the name change in the client?
Context / Background
No response
Additional References
No response
Workload Manifest Schema Version (if relevant)
No response
Your Question
Users of our workload may rename assets using the settings ui. Because of the way we process our assets, we need to validate the name that the user enters. For example, we do not allow names to begin with a number. When we get the update request and the name is invalid, we are returning a statusCode of 400 (bad Request). I have also tried to return 406 (unacceptable). In either case, the Fabric UI continues to show the invalid name.
How can we reject the name change and have the UI revert? Is there a way to validate the name change in the client?
Context / Background
No response
Additional References
No response