on ‎2019 Jun 24 10:11 AM
Hi,
If we give leading and trailing spaces while editing attribute in HMC and Backoffice, it is not getting trimmed automatically while saving. Is there any way to automatically trim upon saving the model.
Regards,
Devendra.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi
You can implement an Interceptor (Say onPrepare) and when ever the values are saved from hmc/backoffice , first check the values into interceptor and trim the trailing and leading white spaces and saved them.
This will apply when values are saved while impex import also.You can try it and let me know if this help you.
Thanks Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.