User bio
404 bio not found
Member since Jan 17, 2019
Posts:
Replies:
There should be a flag in your business service config "Use ACK Commit Codes" that it by default ticked. Remove the tick and try again
I'm not sure about the lookup syntax, I haven't used it.
The code that I sent is not contains. It has an apostrophe in front of the open square bracket. If you want to check if it's contained in the list it will just be a open square bracket
Certifications & Credly badges:
Adrian has no Certifications & Credly badges yet.
Global Masters badges:
Adrian has no Global Masters badges yet.
Followers:
Adrian has no followers yet.
Following:
Adrian has not followed anybody yet.
Hi Thomas,
You can write to a file by using the %File library class as follows:
set tTempFile=##class(%FileCharacterStream).%New()
set tTempFile.Filename=filename
set tSC=tTempFile.CopyFrom(tStream)
set returnValue=tTempFile.%Save()
You will be able to get the file name that was read in the service from the Ens.StreamContainer. It has a property called OriginalFilename that has the absolute filename saved. If the business service managed to pick up the type of file that it processed it will be populated in the Type property.