Changing the value of a Text Constant with extensions

Hi everyone,

In the standar version of BC365, for the automatic VAT system in spain, there is a codeunit that creates the XML sent to the service. In the header of the created XML, there are 3 URLs, related to the schema, and validated into the server. But depending on the county, the schema is different. Those URLs are defined in global text constants.

In the onPremise version, we've changed the value of those text contants, but of course, in the cloud version, that is not possible. is there any way to change the value of a text constant dinamically?

Thank you all