Written by

UKK Köln
Question Dmitrii Baranov · Mar 21, 2023

Read-only .cls?

Hi, could someone tell me please how can I "unlock" a .cls file which author is Intersystems? I want to make some modifications and add some trace messages there. The file resides in the HS.FHIRServer namespace and it looks like read-only

Product version: IRIS 2022.3

Comments

Robert Cemper · Mar 21, 2023

At your own risk!
You can set the Code DB of your namespace to R/W.

0
Cristiano Silva · Mar 21, 2023

Hi Dmitrii Baranov,

I think that a better approch is that you create a new class that extends the original class and change only the method that you need.

0
Dmitrii Baranov  Mar 21, 2023 to Cristiano Silva

I need to find a reason of a performance bug in the source code of the original class :) 

0
Adam Škůrek · Mar 22, 2023

Try to uncheck "Mount Read-Only" in IRISLIB database configuration.

0
Timo Lindenschmid · Mar 27, 2023

If the source class is in deployed mode, there is no way to modify the source code.

0