You can store a set of properties in a filedocument and read them with Java and use them in your application. You can not manipulate Constant values from a Mendix application because they are, yes, constant. You can change constants in the cloud portal.