I want to define some properties in Ens.StringResponse Class
I am getting this "Studio Item 'Ens.StringResponse' is mapped from a database that you do not have write permission on. " if I am pressing any key in that class. I need to define some Property inside it. How Can I do the same
Comments
You have to create a new class that extends Ens.StringResponse, then you will be able to add so many properties as you need in your new class.
Please, check this URL: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
If I create a new class then i need to create object of that new class but i don't want to make any changes in my file. My production is running since last 22 years and now i am upgrading it to iris and i am facing this issue.
Ens.StringResponse is a System class that will be overwritten with each upgrade.
If the Ens.StringResponse class was previously customized, this is your opportunity to correct that limitation.
Recommend, create a new class not using the "Ens" package.