Question John Kumpf · Oct 16, 2019 Pack then import CSS from a local library (Angular) Hi all, This might be a stupid question, but I'm going to ask it anyway. My goal is to write a scss file, pack it as part of a local library (Something like my_library.tgz), npm install that library into a different project and then import that scss file in one of the scss files in the new project. Simply having the scss file exist in the library before I pack it didn't seem to work; the file wasn't under node modules after the npm install. Am I doing something wrong, or are there extra steps I have to take? Thanks in advance. #Angular #Angular2 #CSS #Other 0 5 0 5.8K
Question John Kumpf · Apr 23, 2019 How do I create a custom Property Parameter? Here's my current attempt: #InterSystems IRIS 1 4 0 599
Question John Kumpf · Apr 12, 2019 How do I return JSON from a database SQL call? Referencing this post:https://community.intersystems.com/post/producing-json-sqlI'm not sure how to actually interact with the result set I get from doing something like this. I want to return something like:[{"field1":1, "field2":2}, {"field1":2, "field2":10}]I'm finding it very difficult to get it in this format, since %Print appends a newline onto the end of the {} object it prints.Here's the closest I've gotten: #JSON #REST API #SQL #Caché 1 5 3 1.4K
Question John Kumpf · Dec 6, 2018 Are there issues with $$$OK on Cache 2010? Hi guys,I'm running a method on an instance of Cache 2010, which, when compiled, has $$$OK in it's .int code. This line throws an error, telling me that "the OK macro isn't recognized". Some things I've tried;- I looked it %occStatus, and the macro definition of OK is there.- I changed $$$OK to 1 by hand in the .int code. It compiled successfully, but each time I recompile the original class, it's going to put that $$$OK back #Caché 0 4 0 518
Question John Kumpf · Dec 6, 2018 How do I call IRIS, then run a few commands from it, using a Windows Batch script? Hi guys,Mostly the title. Let's say my commands are stored in a text file "inFile". Here was my best guess:<dir to iris> console IRIS2018 <inFileFor reference, here's an example of the analogous structure that works on Cache:C:\InterSystems\Cache2018\bin\cache -s C:\InterSystems\Cache2018\mgr -U <namespace to start as> <inFile #Terminal #InterSystems IRIS #Microsoft Windows 0 1 0 1.1K