ReturnMessage personalization in PPRSpreadsheetAttributeValidation_ID Business Logic

Hello!

I'm trying to customize the PPRSpreadsheetAttributeValidation_ID Business Logic in order to prevent the edition of some attributes through the PPR Spreadhseet if some conditions on the Manufacturing Objects are met. 

From the documentation of this page, https://help.3ds.com/2024x/english/dsdoc/PjrUserMap/pjr-r-PRD-ToSetRulesAttributesSpreadsheetEditor.htm?contextscope=onpremise&id=3345c59f51164c17bf4cb3ee27f4e119nit seems possible to customize the "ReturnMessage" string in order to display a message detailing why the edition of the attribute is blocked : 

However I'm having some difficulties to set a custom message, is there a way to do it?

Otherwise we can only display the default message, which is not really end user friendly as he doesn't get the info on why the edition is blocked : 

Thanks in advance for the help!

 

Best regards