Question maxime keltsma · Apr 18 Direct access to a global without SQL Hi everyone,I have this global with 2 informations in it: Reference (ex: 1329) and Code (ex: JMMK-G1D6). ^DataTest = 3^DataTest(1) = $lb("","1329","JMMK-G1D6")^DataTest(2) = $lb("","1516","AMEV-GVPF")^DataTest(3) = $lb("","2333","4QC6-4HW3") With ObjectScript, i want to test if Reference 1516 exists in the global. In the InterSystems portal, i can do it with SQL (SELECT count(*) FROM DataTest where Reference = '1516'), but can we do the same in ObjectScript without SQL and manipulating the global directly ? #Globals #InterSystems IRIS 0 4 0 171
Question maxime keltsma · Apr 17 Iterate on array in a json structure Hi, i have this simple json structure: {"nTypeTrigger": "ATR","sDate": "2024-04-17 15:29:16","tRefArray": [{"sID":"132"},{"sID":"151"},{"sID":"233"}],"tCountries": []} I can't find an example to iterate on tRefArray. I've tried to create a secondary iterator but it doesn't work. Here is my current code: #InterSystems IRIS 0 3 0 154
Question maxime keltsma · Dec 24, 2023 The CSS classes file from the IRIS portal. Hi, I would like to work on the CSS code of the IRIS web portal. I want to change the color of the upper horizontal banner for all users. The name of the div is portalTitle. I was unable to locate the CSS classes file in VS Code or in the file system. Thanks. #CSS #InterSystems IRIS 0 2 0 197