go to post Eduard Lebedyuk · Jun 1, 2017 Check %ZEN.Auxiliary.altJSONProvider class, %UnpackObjectToCOSObjectmethod, it converts dynamic object to the specified class. Set dynamicObject = {}.%FromJSON(%request.Content) Set object = ##class(%ZEN.Auxiliary.altJSONProvider).%UnpackObjectToCOSObject(dynamicObject, "class")
go to post Eduard Lebedyuk · May 31, 2017 Compare "Enabled ciphersuites" property in your SSL/TLS configuration.But you'll probably need a longer key.
go to post Eduard Lebedyuk · May 31, 2017 Some convenience macros for SQL types are defined in EnsSQLTypes.INC.
go to post Eduard Lebedyuk · May 30, 2017 They are stored as objects of Ens.Config.DefaultSettings class.You can:Export the ^Ens.Config.DefaultSettingsD globalExport Ens_Config.DefaultSettings table contents to CSV, etc.Export settings as objects to XML
go to post Eduard Lebedyuk · May 29, 2017 If you store data in globals, you can run parallel jobs on your data.On a single job however, locals are faster because there's no journaling and disk writes.
go to post Eduard Lebedyuk · May 26, 2017 %OnAddToSaveSet() can get called many times during modification or saving of our target object and all objects related to it. Therefore it's better to move code we need to execute once to triggers or initialexpression or sqlcomputed.
go to post Eduard Lebedyuk · May 26, 2017 Please note that It's not recommended to use %OnAddToSaveSet(), especially performing heavy operations there.
go to post Eduard Lebedyuk · May 24, 2017 Like this: set p = ##class(%SYS.ProcessQuery).%OpenId($job) set p.UserInfo = "My Text" kill p
go to post Eduard Lebedyuk · May 19, 2017 In your %XML.Reader set IgnoreSAXWarnings to 1. In your XML enabled classes set params: Parameter XMLIGNOREINVALIDTAG As BOOLEAN = 1; Parameter XMLIGNOREINVALIDATTRIBUTE As BOOLEAN = 1; This would allow for errors to be skipped, but they wouldn't be reported either. I'm not sure if the behavior you want is possible without some modifications.
go to post Eduard Lebedyuk · May 18, 2017 Here's a few thoughts:Get list of pivotsFor eachGet MDXTry to execute MDXIf it fails, record the errorAggregate/display errorsShould be doable. DeepSee API has all the required functions.
go to post Eduard Lebedyuk · May 17, 2017 GuruBaseAllah.BLZServiceSOAP11porthttp class already exists.
go to post Eduard Lebedyuk · May 16, 2017 Check UserAction method of %Studio.Extension.Base class. You can call CSP pages from there.