go to post Eduard Lebedyuk · May 10, 2018 You can use zwrite to display object contents to a terminal: set msg = ##class(class).%OpenId(Id) zwrite msg set obj = msg.GetAt(1) zwrite obj
go to post Eduard Lebedyuk · May 10, 2018 So I gather that you HAVE to pass in a list of IDS to exportYes.
go to post Eduard Lebedyuk · May 10, 2018 The problem with write *-3 is that it is currently added to a system code. I'm searching for a better solution.
go to post Eduard Lebedyuk · May 9, 2018 Can you post XML file you're trying to import?Looks like it's empty.
go to post Eduard Lebedyuk · May 9, 2018 #2 limit yourself to 2048 char.Nowadays it's fine. Most browsers work with long URLs.So is your redirect just URL or URL?urplarams=...... It's URL?urplarams=...... One parameter is 5000+ symbols long.
go to post Eduard Lebedyuk · May 9, 2018 I think that using ExportTasks and ImportTasks methods of %SYS.TaskSuper class as proposed by @Sean Connelly and @John Murray would be a better solution as:It would not override system tasksIt would produce readable XML
go to post Eduard Lebedyuk · May 9, 2018 MONEXT is an include file, you can see it in %SYS namespace.You can map it to your namespace (in SMP - Namespaces - Routine mappings).
go to post Eduard Lebedyuk · May 9, 2018 ServerSideRedirect doesn't work in that context (OAuth authentication) unfortunately.I also tried setting LOCATION header directly (via SetHeader method) - in that case I get the same truncated output.
go to post Eduard Lebedyuk · May 9, 2018 You can export/import ^SYS("Task","TaskD") global directly, which contains task definitions data.Some properties are computed (i.e. LastFinished), and could probably cause this error.Try to export/import minimal set of columns.Alternative approach would be writing code to generate tasks.
go to post Eduard Lebedyuk · Apr 27, 2018 export portal settingsWhat settings exactly?Most settings like users, web applications, etc. could be recreated via %Installer (en article, ru article).You can also use Version Control and Continuous Delivery to automate movement between different servers (en articles: 1, 2, 3, 4, 5, 6, ru article covers parts 1 to 4)
go to post Eduard Lebedyuk · Apr 26, 2018 Should they have access?The best solution here is restricting access.InterSystems security model allows for a customizable access management.Application building/testing/deployment tasks could be fully automated and so not require human intervention at all.
go to post Eduard Lebedyuk · Apr 22, 2018 Classes only.Each method, that could be called from a terminal is documented with a sample call.
go to post Eduard Lebedyuk · Apr 22, 2018 Try chrome --headless --disable-gpu --print-to-pdf https://www.google.com/ Referenced article also shows several examples. Chrome could be called with $zf(-1) function.
go to post Eduard Lebedyuk · Apr 20, 2018 You can draw ZEN with PDF into a new PDF using headless chrome browser (server-side) and send this new PDF to client for printing.