Question Krishnaveni Kapu · May 13, 2024 Issue in generating Double quotes for a property in Json Stream. Hello Community, I have below issue - I have an ID with 123456.(ID as a dynamic value coming from request message) I wanted it to be displayed as "123456" in Json Stream. Code Example: set object = ##class(%ZEN.proxyObject).%New() set object.ID = ID set x = ##class(%ZEN.Auxiliary.jsonArrayProvider).%WriteJSONStreamFromObject(.json,object) Case:1ID : 123456 Will output: { "ID": 123456 } but I need : { "ID": "123456" } #Ensemble 0 3 0 139
Question Krishnaveni Kapu · Apr 26, 2024 How to read XML data in a routing rule I am receiving an XML input to my router and in the routing rule I need to traverse through the xml data , apply a for loop and fetch data. How can I do that ? Input : #Business Rules #XML #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 3 0 163
Question Krishnaveni Kapu · Apr 23, 2024 subString before last delimeter How can I extract the sub-string before the last occurance of a delimeter in a string. string = "aaDtext1Dtext2" Delimeter = D answer I need = aaDtext1 #Caché #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 149
Question Krishnaveni Kapu · Apr 22, 2024 convert dd/mm/yyyy --> yyyymmdd I need to convert dd/mm/yyyy --> yyyymmdd example Input = 25/03/1988 expected Output = 19880325 #Key Question #ObjectScript #Caché #Ensemble #Health Connect #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 263
Question Krishnaveni Kapu · Jun 20, 2023 convert "dd/MMM/yy" to "YYYYmmdd" I need to convert "dd/MMM/yy" to "YYYYmmdd". Input = dd/MMM/yy Output = YYYYmmdd example Input = 13/Jun/23 Output = 20230613 I used below , I get 1923 as year but I need 2023. $ZDATE($ZDATEH("13/Jun/23",8),8) = 19230613 #ObjectScript #InterSystems IRIS 1 3 0 253