I came across your post trying to get HTML markup correctly formatted into a Zen Report PDF. We did manage to get this done using a <write/> element's content attribute report-wide. This time, we need to get variable markup by a report data node - hence we need to use an <item/> element.
Unforunately we cannot get this to work, neither via copyhtml nor via copyxml (and combinations of the two).
Should not at least one of the alternatives below generate the desired bold typing of the parameters MYMARKUP or MYXML?
Hi Peter, thanks for your articles. I am wondering whether you were able to make further progress on your replacement project. Have you got any updates worth sharing?
Thanks for the hint! Speaking of feedback: I hardly dare to ask this - but do you already have an idea on how searching capabilities could be provided?
Hi! Thanks for all your work on the VS Code side of IRIS!
Today, I wanted to give the new Server-side Editing feature a try, but I cannot get the button “Choose Server and Namespace” to appear in VS Code Explorer. The "intersystems.servers" in settings.json are configured properly. The button does not appear whether or not I add or leave out username and password properties.
Next Steps I have developed a small ZEN app as a test bed that models a pattern that I widely use in the current ZEN app This together with the extended ObjectDataModel class will be available shortly on GIT Hub
I then plan to reproduce the same functionality in Angular2 / Rest Calls / JSON to and from the extended ObjectDataModel
Hi Peter,
thanks for your series on "Replacing ZEN". I wonder where you are in your journey - did you manage to put your test app on GitHub, yet?
go to post
Good idea. This might work:
ClassMethod HandleJSON() { S Results= { "ClassA":{"ClassName":"ClassA","ACount":367191880,"BCount":367191880,"CurrentDiff":0,"PreviousDiff":0,"ReportDate":"2024-03-02 00:00:00"}, "ClassB":{"ClassName":"ClassB","ACount":5352149227,"BCount":5352149227,"CurrentDiff":0,"PreviousDiff":0,"ReportDate":"2024-03-02 00:00:00"} } w ..GetCsv(Results.%ToJSON()) } ClassMethod GetCsv(json As %String) As %String [ Language = python ] { import pandas df = pandas.read_json(json, orient="index") return df.to_csv(index=False) }
go to post
AH ok
go to post
Well, the result is not always the same: I just found out that you should be careful when working with :variables, for example in %SQLQuery:
Returns 1 row for myvar being null.
Whereas
Does return no row for myvar being null.
Using IRIS for Windows (x86-64) 2021.1 (Build 215) Wed Jun 9 2021 09:56:33 EDT
go to post
Great tip, Marc! Thanks for your help
go to post
Hi Marc,
I came across your post trying to get HTML markup correctly formatted into a Zen Report PDF. We did manage to get this done using a <write/> element's content attribute report-wide. This time, we need to get variable markup by a report data node - hence we need to use an <item/> element.
Unforunately we cannot get this to work, neither via copyhtml nor via copyxml (and combinations of the two).
Should not at least one of the alternatives below generate the desired bold typing of the parameters MYMARKUP or MYXML?
Thanks for looking into this!
go to post
Hi Peter, thanks for your articles. I am wondering whether you were able to make further progress on your replacement project. Have you got any updates worth sharing?
Thanks + regards - malte.
go to post
Thanks for the hint! Speaking of feedback: I hardly dare to ask this - but do you already have an idea on how searching capabilities could be provided?
go to post
Awesome! I installed the beta as you suggested - aaand:
This looks absolutely promising! Thanky you!
go to post
Hi! Thanks for all your work on the VS Code side of IRIS!
Today, I wanted to give the new Server-side Editing feature a try, but I cannot get the button “Choose Server and Namespace” to appear in VS Code Explorer. The "intersystems.servers" in settings.json are configured properly. The button does not appear whether or not I add or leave out username and password properties.
Any thoughts on this?
go to post
Looks like you implemented that method yourself. Did you try using the predefined method in %ZEN.Report.reportPage?
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GRPT_report_running#GRPT_command_line_generatereport
go to post
Hi Peter,
thanks for your series on "Replacing ZEN". I wonder where you are in your journey - did you manage to put your test app on GitHub, yet?
Thanks
malte.