yes, i konw it, if not Insert CR/LF after every 76 characters,when len is 24*30*2, len1 is 1920,when len is 24*30,len1 is 960, and i can get the right pdf,if the base64 data comes from others, how can i know the num of len1?
thank you,because of most cases use old version cache,it don't support %Studio.SourceControl. do you know why Projections is a bad way? what disaster does it will cause? one side is backup local code,i backup it to local,and then upload to gitee, i tried to used gitee’s callback function to autobackup,but failed。and the second side is to make backuping and updating code being simplly.Implementation Engineers want a simple way.
at present situation,i work with ensemble2016 more than iris,and it seems doesn‘t support plug-in. I actually prefer to use dot syntax ,i think it shows much clearly levels。
s B64S=##class(%GlobalCharacterStream).%New() i '$IsObject(file) d .s fileName=file .s file=##class(%FileBinaryStream).%New() .d file.LinkToFile(fileName) .d file.Rewind() s len=513 ; text must be divisible by 3 and 57 While 'file.AtEnd { s text=file.Read(.len) q:len'>0 d B64S.Write($tr($system.Encryption.Base64Encode(text),$c(10,13),"")) } q B64S
thanks,%XML.TextReader could read the xml,but what i want to know is, xml 2 obj and i can reset some element`s value ,and then output the xml with new data
go to post
thanks,but it`s not i want,code does not know the pid
go to post
The client and server use different SSL protocols. You can try changing the 1.3 in the SSL configuration in iris to the highest 1.2.
go to post
i got it,the code must like this "s baseStr = ##class(%SYSTEM.Encryption).Base64Encode(byteList,1)",len must be 24*n,and len1 must be 8*n
go to post
yes, i konw it, if not Insert CR/LF after every 76 characters,when len is 24*30*2, len1 is 1920,when len is 24*30,len1 is 960, and i can get the right pdf,if the base64 data comes from others, how can i know the num of len1?
go to post
thks,i got it!
go to post
thank you,Enrico Parisi gives me a better answer!
go to post
Enrico,thanks a lot!i got it!
go to post
and how to parse "<NewClass2><OPDT>2023-11-30 11:07:02</OPDT></NewClass2>" to a object as type of Samples.NewClass2?
go to post
Ashok,thank you,this is what i asked,in fact ,i should change %Library.DateTime to and %Library.TimeStamp
go to post
Enrico,thank you in fact ,i need TimeStamp!
go to post
i would like to use JAVA to open service for iris,so i don·t care if iris not support any java version
go to post
thank you i have found it
go to post
ensemble2016,cache2016,a few new case use iris from 2022-6
go to post
thank you,because of most cases use old version cache,it don't support %Studio.SourceControl. do you know why Projections is a bad way? what disaster does it will cause? one side is backup local code,i backup it to local,and then upload to gitee, i tried to used gitee’s callback function to autobackup,but failed。and the second side is to make backuping and updating code being simplly.Implementation Engineers want a simple way.
go to post
at present situation,i work with ensemble2016 more than iris,and it seems doesn‘t support plug-in. I actually prefer to use dot syntax ,i think it shows much clearly levels。
go to post
thks, local code can use git,but in production environment,there is no git,and usually,i have the code,but not include data.
go to post
s B64S=##class(%GlobalCharacterStream).%New()
i '$IsObject(file) d
.s fileName=file
.s file=##class(%FileBinaryStream).%New()
.d file.LinkToFile(fileName)
.d file.Rewind()
s len=513 ; text must be divisible by 3 and 57
While 'file.AtEnd {
s text=file.Read(.len)
q:len'>0
d B64S.Write($tr($system.Encryption.Base64Encode(text),$c(10,13),""))
}
q B64S
go to post
Just parse the stream and save it
go to post
dom,did you find a good way to work out?i meet the same trouble!
go to post
thanks,%XML.TextReader could read the xml,but what i want to know is, xml 2 obj and i can reset some element`s value ,and then output the xml with new data