Question Michel Liberado · Feb 11, 2022 How to get the list of indices in a class in order to manually delete some or all of them given some rules Hi, the class %Library.Storage has several methods such as %BuildIndices(pIndexList As %RawString = "" ...), #Databases #InterSystems IRIS for Health 0 7 0 485
Question Michel Liberado · Nov 26, 2021 IRIS and the order of operations: 1*2+2*3=12 but (1*2)+(2*3)=8; is there a setting somewhere to adopt the same conventions as everyone else in the world ? Hi,I wonder why IRIS seems to have its on way to deal with order or operations such as the example in the title. This affects regular arithmetic operations but of course conditions in various statements. Even after years of COS development, I still get caught by these tiny frustrating details and it is absolutely annoying when you are writing APIs that some some maths. Here is an example: #InterSystems IRIS 4 13 0 679
Question Michel Liberado · Mar 1, 2020 Unable to retrieve response object allocated in the last method of a nested SendRequestSync sequence Hi, I have a production with a BS calling a BP calling another BP and so on and finally a BO. All calls are made using SendRequestSync. The initial request is passed by value. The response is passed by ref and I allocate memory for it in the BO, hoping that it will go back to the initial caller in the BS, but it does not. It looks like the following: #Business Operation #InterSystems IRIS for Health 0 3 0 356
Question Michel Liberado · Feb 12, 2020 How can we set the displayed label of a SETTING in the portal ? Hi, I need to set the label of a custom setting in the portal instead of the name of the associated property, eg.: Class SomeClass Extends (Ens.BusinessService, %ZEN.Portal.ContextSearch) { Property ABadPropertyNameToChange As %Boolean; Parameter SETTINGS = "ABadPropertyNameToChange:CustomSettingsSection" } will result in this in the portal -------------------------------CustomSettingsSection ABadPropertyNameToChange [ ] #ZEN #InterSystems IRIS for Health 1 3 1 277
Question Michel Liberado · Feb 3, 2020 Cannot use class defined in another namespace even with package mapping Hi, I have two namespaces In the first one, I have defined a class which Extends (%Persistent, Ens.Util.MessageBodyMethods), we'll call it NSOne.Msg.Req In the second namespace NSTwo, I want to use the previous class with something like SET pInput = ##class(NSOne.Msg.Req).%New() I mapped the NSOne.Msg.Req package in namespace NSOne. In Atelier, I can see NSOne.Msg.Req in my NSOne. But, when I try to execute line 2 above, it tells me : #Data Model #Object Data Model #InterSystems IRIS 0 2 0 503