go to post Robert Cemper · Jul 31, 2024 ZENpages load a bunch of dedicated js libraries + scripts in browser for it's communicationSuggestion: create a simple ZEN page and check js libraries and scripts used.
go to post Robert Cemper · Jul 29, 2024 not so much need of a SET class in ObjectScript every local variable array or a global allows alphanumeric subsriüpts up to size 255 those subscripts are unique
go to post Robert Cemper · Jul 25, 2024 Using my previous reply you can do this without need of any custom object: SAMPLES>read xml <?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session> SAMPLES>set rdr=##class(%XML.Reader).%New() SAMPLES>do rdr.OpenString(xml) SAMPLES>zwrite %SAX=1 %SAX(1)=2 %SAX(1,0)="" %SAX(1,1)="1" "" %SAX(1,2)="!>A" %SAX(1,"N","http://www.w3.org/2001/XMLSchema-instance")=1 %SAX(1,"d")=4 %SAX(1,"d",1)="session" %SAX(1,"d",2)=" " %SAX(1,"d",3)="session_Id" %SAX(1,"d",4)=124364 %SAX(1,"n")=1 %SAX(1,"n",1)="http://www.w3.org/2001/XMLSchema-instance" %SAX(1,"v")=6 rdr=<OBJECT REFERENCE>[1@%XML.Reader] xml="<?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session>" SAMPLES>
go to post Robert Cemper · Jul 25, 2024 edited and simpler if this has an XMl header <?xml version= ... then ##class(%XML.Reader).OpenString(yourxmlstring) will deposit your input in the local aray %SAX()
go to post Robert Cemper · Jul 21, 2024 %BuildIndices is required if the indexed values are manipulated directly in the Global.OR if the index definition is changed in Class or By DDLduring use as Object or SQL table it is maintained automatically.
go to post Robert Cemper · Jul 20, 2024 for a NEW created index this is "work in progress" that shouldn't be used until completed. if it's a matter of repair $SYSTEM.OBJ.ValidateIndices() might be more useful. see my article Fix broken index
go to post Robert Cemper · Jul 19, 2024 Hi @Ben Spead !My personal congratulations to see you here!Working with you and your team on the worldwide HERMES project was oneof my highlights during my time at InterSystems.It was due to your interpersonal skills to make this team so successful. It was so special to me to participate and share this experience.As a Sales Engineer with no local office I often felt "at the outer border of the milky way".Not lost in space but almost.But working in your team gave me the feeling of a "technical home".As Engineer I enjoyed to style and create a product.Which was more important to me than to consult, advice, and teach how to use some features. Big THANKS for that! Robert
go to post Robert Cemper · Jul 19, 2024 from class documentation: You can import files exported in XML format, %RO format, CDL format, UDL format, %GOF, and CSR/CSP files. You should do an export of one of this types and then seehow this may match your .vm thing. Your screenshot is definitely some XMLBut it doesn't match any formatting structures or rules required in IRIS or Caché.
go to post Robert Cemper · Jul 18, 2024 another hack: create an SQL Procedure in SMP once compiled use Test Feature in SMP to execute it Example: CREATE PROCEDURE ANY.NAME() LANGUAGE OBJECTSCRIPT { ;;; fill in whatever you want to do }
go to post Robert Cemper · Jul 16, 2024 I just gave it a try: an 8-bit DB works with code and globals without problem on a UNICODE (16bit) installation I didn't try CSP pages in ns %SYS you have a utility ^GBLOCKCOPY converting a 8bit DB to a new 16bit DB for a DB conversion
go to post Robert Cemper · Jul 16, 2024 According to docs processing 8-bit on a unicode install should be possible Character Width Setting ,,,, while a Unicode instance can process both 8-bit and 16-bit data. It's anyhow a tricky exercise
go to post Robert Cemper · Jul 15, 2024 in OEX you find 13 matches for SWAGGER already and 6 articles in this forum simply search
go to post Robert Cemper · Jul 15, 2024 do LOG^%ETN does an actual snapshot and you my examining the actual content at that point of time in SMP
go to post Robert Cemper · Jul 14, 2024 This docu on Cached Queries may be an explanation of what you identified
go to post Robert Cemper · Jul 14, 2024 how do you identify 2 cached queries generated at the same time? and if so, what is the difference ?
go to post Robert Cemper · Jul 13, 2024 object code is just binary content.not even debugger can decipher it.I've never seen a decompiler (like for java) the last 25 years.