go to post George James · Jan 26, 2022 Hi Sreevani In ObjectScript you can include a double-quote character inside a quoted string by doubling it up. set teststr ="<book id=""bk105""><author type=""old"">Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>" Since in this example, your string clearly contains html you might find that using single-quotes inside your string would be cleaner and easier to read, making it more maintainable: set teststr ="<book id='bk105'><author type='old'>Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>" George
go to post George James · Jan 26, 2022 Hi Con I think your problem might be that background-image and background-repeat are CSS properties, not HTML attributes. Color works because it is an HTML attribute (although you should use the CSS style property for this as well these days). Try: <xsl:if test="$Value = 400"> <xsl:attribute name='style'>background-image: url("images/trash-icon.png"); background-repeat: no-repeat;</xsl:attribute> <xsl:attribute name='color'>#ffffff</xsl:attribute></xsl:if> If that works then you might want to consider using a class attribute to reference a stylesheet rather than including a style attribute directly, but that's another matter. George
go to post George James · Aug 25, 2021 Arvind You might want to take a look at Detanji https://www.georgejames.com/deltanji for source control in place of TFVC. It is more seamless with IRIS and integrates closely with VS Code and the IRIS Management Portal.
go to post George James · Aug 25, 2021 Deltanji https://www.georgejames.com/deltanji can take care of this for you. With Deltanji you can change the DTL either in the Management Portal or in VS Code, or both. And you'll get a lot of other benefits if you upgrade your git repository to Deltanji.
go to post George James · Jun 23, 2021 Hi Alexey It sounds like writing a simple VS Code Extension would be the right solution for this requirement. We would be able to help you with this if you don't have the appropriate skills. George
go to post George James · Jun 7, 2021 Have you looked at PDFbox? https://pdfbox.apache.org/ Alternatively, if the pdfs are of your own making then the best solution would be to merge the xml content before you use fop to create the pdf document.
go to post George James · May 26, 2021 Adel Do you need something more than simply attaching a debugger to the process and stepping through the code? With the Serenji debugger you have precise control over stepping into or over blocks of code and you can mask out library code that you already know about (or don't want to know about).
go to post George James · May 20, 2019 FranciscoYou could try using the Serenji extension for VSCode. This avoids the problem of syncing altogether.Serenji allows you to browse, edit and debug your code directly in the database where it is stored and executed. So you don't have any problems with the sources being out of sync because it just can't happen.Georgewww.georgejames.com
go to post George James · Oct 4, 2018 This week at Global Summit we announced extensions for Visual Studio Code that will provide Explorer, Editing, Debugging and Source Control for InterSystems IRIS, Cache and Ensemble.Those at the GS conference we able to see all this being demonstrated at our partner pavilion booth. We expect these extensions to be available in a month or so.And to answer the original question directly, I've been running Cache Studio on Linux Mint very successfully using Wine. There are one or two glitches but they are mainly cosmetic and not unusual with many complex applications that run under Wine.Georgewww.georgejames.com
go to post George James · Nov 4, 2016 Nikita The following example will cause your process to drop into programmer mode if it is set as the user's startup routine: ZitRoStart write "hello", ! do ^%SYS.PMODE When a routine is specified as the user's startup routine the process starts in "application mode", sometimes referred to as a tied routine. Calling routine %SYS.PMODE forces the process into programmer mode if it was started in application mode. George George James Softwarewww.georgejames.com
go to post George James · Nov 2, 2016 JeffYou can use Serenji instead of Studio for editing and debugging on GT.M.To keep this thread on topic you can also use Serenji as an excellent alternative to Studio for debugging on Cache and Ensemble.George