go to post Andy Stobirski · Nov 8, 2022 Hi Christiano Thanks for your reply - I'm not sure how to go about doing that. So, if I had a .PNG how would I display it on a zen page? Andy
go to post Andy Stobirski · Oct 8, 2022 Can this be set to monitor individual folders? I have a series of different projects, each located in different locations, and would like them to reside in their own repositories.
go to post Andy Stobirski · Sep 27, 2022 Hi Fab - that's what I thought, and it'll be easy to implement. Thanks for replying.
go to post Andy Stobirski · Sep 6, 2022 That worked perfectly, thanks. One last question, where would I find style sheet information to colour the results as per the HL7 viewer does?
go to post Andy Stobirski · Aug 8, 2022 Hi Jeffrey - that's perfect, thanks for taking the time to reply. Once last question: do you know how I might locate information on the Arbiter connection status? Andy
go to post Andy Stobirski · Jun 30, 2022 I've found out what I need to do with the following link, a section titled "Predicate Conditions and Streams" from the page "Storing and Using Stream Data (BLOBs and CLOBs)" https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...
go to post Andy Stobirski · May 19, 2022 I solved it. I changed to OnPage() method to use a %Stream.FileCharacter as follows: ClassMethod OnPage() As %Status { set fs = ##class(%Stream.FileCharacter).%New() set fs.Filename = %request.Get("filepath") do fs.OutputToDevice() quit $$$OK }
go to post Andy Stobirski · May 19, 2022 I solved it. I changed to OnPage() method to use a %Stream.FileCharacter as follows: ClassMethod OnPage() As %Status { set fs = ##class(%Stream.FileCharacter).%New() set fs.Filename = %request.Get("filepath") do fs.OutputToDevice() quit $$$OK }
go to post Andy Stobirski · May 18, 2022 Hi there! Thanks for taking the time to reply. I implemented the above code and was quickly able to download the file in question. However, the PDF files that is downloaded doesn't have the same size as the original - in fact all are 5Kb smaller, e.g.197Kb downloads to a 192Kb file, 241Kb to a 236Kb etc I modified the OnPreHttp() method to set content length, but that had no effect. /// Set the appropriate header for the file.ClassMethod OnPreHTTP() As %Boolean{set filepath = %request.Get("filepath") set tFs=##class(%Stream.FileCharacter).%New()set tFs.Filename=filepath set %response.ContentType = "application/pdf"do %response.SetHeader("Content-Disposition","attachment;filename="""_$P(filepath,"\",*)_"""")Do %response.SetHeader("Content-Length",tFs.Size) Quit $$$OK} Do you have any ideas?
go to post Andy Stobirski · May 18, 2022 Thanks for the warning. Fortunately, this is for a internally hosted page accessed by username/password only by authorised operatives.
go to post Andy Stobirski · Apr 22, 2022 I solved the problem: user error! One of the variable values was misspelt in the database. Thanks for taking the time to answer!
go to post Andy Stobirski · Apr 22, 2022 OMG! I can't believe I didn't notice that. Thank you for this!
go to post Andy Stobirski · Apr 22, 2022 After further experimentation, I have found that entirely omitting the where clause causes only 1 value to outputted in the second loop that examines the cursor.
go to post Andy Stobirski · Apr 22, 2022 I have added that, but it had no effect. Thanks for taking the time to reply though.
go to post Andy Stobirski · Apr 22, 2022 I have added that, but it had no effect. Thanks for taking the time to reply though.