InterSystemsDev via @like
How to return #JSON Array in #SQL request for a List Property? #HowTo #InterSystemsIRIS #ObjectDataModel #ObjectScript
>> http://ow.ly/3pOv50q03Ie <<
>> http://ow.ly/3pOv50q03Ie <<
InterSystems Developer Community
How to return JSON Array in SQL request for a List Property?
Hi Community!Suppose I have a property in a ObjectScript class:
Property values As list Of %String
What an SQL query can help to return the values of the property as JSON array via SQL access (JDB
Property values As list Of %String
What an SQL query can help to return the values of the property as JSON array via SQL access (JDB
InterSystemsDev via @like
How to use conditional logic in SQL? #HowTo #Caché #InterSystemsIRIS #SQL
>> http://ow.ly/tDCw50qjKBu <<
>> http://ow.ly/tDCw50qjKBu <<
InterSystems Developer Community
HOW TO USE CONDITIONAL LOGIC IN SQL
Is there a way or can it be done to use conditional logic in sql like so
Query Q1(formal as %String) As %SQLQuery [ Final ]
{
SELECT pati
Query Q1(formal as %String) As %SQLQuery [ Final ]
{
SELECT pati
InterSystemsDev via @like
How to create index from a property in a list? #HowTo #InterSystemsIRIS #Indexing
>> http://ow.ly/h8LD50ubWYk <<
>> http://ow.ly/h8LD50ubWYk <<
InterSystems Developer Community
Create index from a property in a list - SOLVED
Hi,I know of the existance of (ELEMENTS) to create an index from a list, but I actually would like to index the content of an element of a list. Is it possible? My scenario:Class:Property Test As
InterSystemsDev via @like
How to ignore terminators on read from #TCP device? #HowTo #Caché #Interoperability
>> http://ow.ly/gH7850ukVDz <<
>> http://ow.ly/gH7850ukVDz <<
InterSystems Developer Community
How to ignore terminators on read from TCP device
I'm connecting to a remote device using TCP. It has a binary protocol.
set host = ""
set port = ""
set io = $io
set device = "|TCP|7000"
set timeout = 2
open device:(host:port:"M")
use device
set host = ""
set port = ""
set io = $io
set device = "|TCP|7000"
set timeout = 2
open device:(host:port:"M")
use device
InterSystemsDev via @like
How to Setup #InterSystemsIRIS Container to Use OS-Level Authentication Programmatically? #HowTo #Containers #Containerization #TipsAndTricks
>> http://ow.ly/r1rJ50uqf3D <<
>> http://ow.ly/r1rJ50uqf3D <<
InterSystems Developer Community
How to Setup InterSystems IRIS Container to Use OS-Level Authentication Programmatically
Hi Community!When you run IRIS container out-of-the-box and connect to it via terminal e.g. with:
docker-compose exec iris bash
You see something like:
root@7b19f545187b:/opt/app# irisses
docker-compose exec iris bash
You see something like:
root@7b19f545187b:/opt/app# irisses
InterSystemsDev via @like
Question on #DeveloperCommunity: How to get concrete class from id? #HowTo #Caché
>> http://ow.ly/7xtc50urkIY <<
>> http://ow.ly/7xtc50urkIY <<
InterSystems Developer Community
Get concrete class from id
I have one abstract class and several subclasses. All share one data/id global.How can I get concrete class name from id (without opening the object)?What I have so far:
write $p($lg(^DATAGLOBAL(<
write $p($lg(^DATAGLOBAL(<
InterSystemsDev via @like
How to run a #SQL on a different server from #Caché itself? #HowTo #DataPlatform #API
>> http://ow.ly/JqwO50uHcgx <<
>> http://ow.ly/JqwO50uHcgx <<
InterSystems Developer Community
How to run a sql on a different server from cache itself
what class or API I shall be using to execute a piece of sql to another server from one server? From within cache itself not java or python or any other languages. Anything like $System.SQL.%Conn
InterSystemsDev via @like
How to Create New #Database, Namespace and Web Application for InterSystems IRIS programmatically >> http://ow.ly/hc5H50uYvv5
#HowTo #InterSystemsIRIS #IRISforHealth #Caché #DeepSee #ObjectScript #Analytics #WebApplication
#HowTo #InterSystemsIRIS #IRISforHealth #Caché #DeepSee #ObjectScript #Analytics #WebApplication
InterSystems Developer Community
How to Create New Database, Namespace and Web Application for InterSystems IRIS programmatically
Here is an ObjectScript snippet which lets to create database, namespace and a web application for InterSystems IRIS:
```
set currentNS = $namespace
zn "%SYS"
write "Create DB ...",!
se
```
set currentNS = $namespace
zn "%SYS"
write "Create DB ...",!
se
InterSystemsDev via @like
How to programmatically create a web application definition? #HowTo #Caché #ObjectScript #Namespace
>> http://ow.ly/dKxV50v1OpD <<
>> http://ow.ly/dKxV50v1OpD <<
InterSystems Developer Community
How do I programmatically create a web application definition?
I have a need to dynamically create a web application definition in a namespace using ObjectScript. I am having trouble finding a cache class or routine that let's me do this. Thanks
InterSystemsDev via @like
How to compare time data >> http://ow.ly/Z9nW50v9c9u
#HowTo #InterSystems #InterSystemsIRIS #ObjectScript #SQL #Coding
#HowTo #InterSystems #InterSystemsIRIS #ObjectScript #SQL #Coding
InterSystems Developer Community
How to compare time
I am trying to get the time difference between two time stamps one is recorded earlier to the one happening current but the problem is sql expect string while I have the other stored in a variable and
InterSystemsDev via @like
How to return #JSON from a database #SQL call >> http://ow.ly/wK8t50vacss
#HowTo #InterSystems #InterSystemsIRIS #API
#HowTo #InterSystems #InterSystemsIRIS #API
InterSystems Developer Community
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 s
InterSystemsDev via @like
How to remove escape characters from JSON >> http://ow.ly/xtTi50vrVEC
#HowTo #InterSystems #Caché #ObjectScript #JSON
#HowTo #InterSystems #Caché #ObjectScript #JSON
InterSystems Developer Community
How to remove escape characters from JSON
I am still new to cache objectscript and am trying to figure out how I would go about removing the escape characters from my JSON below. When I call the $toJSON method it's adding the "\" charact
InterSystemsDev via @like
How to add two or more file attachments into the %Net.MailMessage >> http://ow.ly/Kmhz50vC28v
#HowTo #InterSystems #Caché #ObjectScript
#HowTo #InterSystems #Caché #ObjectScript
InterSystems Developer Community
How can I add two or more file attachments into the %Net.MailMessage
I've tried this: s status=msg.AttachFile("F:\MyDir","myFirstFile.pdf",1,.count) s status=msg.AttachFile("
InterSystemsDev via @like
Q&A on #InterSystemsDevelopers: How to get all values of a setting of a Production item programmatically? #HowTo #InterSystems #Ensemble
>> http://ow.ly/Daft50wymFd <<
>> http://ow.ly/Daft50wymFd <<
InterSystems Developer Community
How can I get all values of a setting of a Production item programmatically?
I wish to retrieve all the setting values for a given production. I have found Set tSC=##class(Ens.Director).GetProductionSettings("EXC.EXC",.tSettings) WHERE EXC.EXC is
InterSystemsDev via @like
❔ Question: How to get the parent classname of a class? #HowTo #InterSystems #InterSystemsIRIS
💬 Answer: http://ow.ly/6WfX50wFDlc
💬 Answer: http://ow.ly/6WfX50wFDlc
InterSystemsDev via @like
How to create a calculated measure that will show the Percent of All for any dimension? #HowTo #InterSystems #Analytics #MDX
➡️ http://ow.ly/FjXg50wKPIt
➡️ http://ow.ly/FjXg50wKPIt
InterSystems Developer Community
How to create a calculated measure that will show the Percent of All for any dimension
I want to have a generic PercentOfAll measure that can be used for any dimension of the cube. This PercentOfAll should act like Count, but instead of showing the number of rows in a cell, it will show
InterSystemsDev via @like
❔ Question: How to ignore serialize a property in a class to JSON? #HowTo #InterSystems #InterSystemsIRIS #ObjectScript #JSON
💬 Answer: http://ow.ly/JjdY50wLMCl
💬 Answer: http://ow.ly/JjdY50wLMCl
InterSystems Developer Community
How to ignore serialize a property in a class to JSon
Hi all,I have a class that I want to serialize to JSon. So I'm using the object %ZEN.Auxiliary.jsonProvider)
set myClass = ##class(myapp.myclass).%New()
set myClass.property1 ="value 1"
set myC
set myClass = ##class(myapp.myclass).%New()
set myClass.property1 ="value 1"
set myC
InterSystemsDev via @like
Question: How to sync Server and local cache code using #VSCode? #HowTo #InterSystems #InterSystemsIRIS #ObjectScript
Discussion: http://ow.ly/EUCZ50wNIlD
Discussion: http://ow.ly/EUCZ50wNIlD