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
InterSystemsDev via @like
❔ Question: How to copy array values from #JSON to object using #DTL? #HowTo #InterSystems #InterSystemsIRIS
💬 Answer: http://ow.ly/7tNv50wRlxH
💬 Answer: http://ow.ly/7tNv50wRlxH
InterSystems Developer Community
How to copy array values from JSon to object using DTL?
Hi community,I need to create a DTL to get values from a JSon (%DynamicObject) to a class.Thre first items is copied fine, however when it tries to get the values from an array it raises an error.&nbs
InterSystemsDev via @like
❔ How to extract data from a list property? #HowTo #InterSystems #InterSystemsIRIS #SQL #Code
💬 Answer: http://ow.ly/c9s650wXlfW
💬 Answer: http://ow.ly/c9s650wXlfW
InterSystems Developer Community
How to extract data from a list property
Say I have a property in a persistent class that stores list of colours and I would like to query that field and return a list and be able to loop that list to get individual colours how w
InterSystemsDev via @like
❔ How to pass an aux.RuleUserData unique value for each individual routing rule? #HowTo #InterSystemsIRIS #DevOps
💬 Answer: http://ow.ly/vK4x50xfTDA
💬 Answer: http://ow.ly/vK4x50xfTDA
InterSystems Developer Community
How do I pass an aux.RuleUserData unique value for each individual routing rule?
Hi,I have two rules within a single rule set where I am wanting to set a variable (RuleUserData) (MGH & MGP) to pass into the transform called for each rule. However, the RuleUserData value&
InterSystemsDev via @like
❔ Question: How to separate #OBX segments based on "."? #HowTo #InterSystems #ObjectScript
💬 Discuss: http://ow.ly/j3Dy50xxxVS
💬 Discuss: http://ow.ly/j3Dy50xxxVS
InterSystems Developer Community
How to separate OBX segments based on .
Hi, I am trying to transform a message to meet a third party specification, and would like to know if you can advice me on how to separate a single OBX segment into several segments based on a '.'I wo
InterSystemsDev via @like
How to execute a program from a program and capture the results from the executed program? #HowTo #InterSystems #InterSystemsIRIS
Answer: http://ow.ly/UwHy50y27p7
Answer: http://ow.ly/UwHy50y27p7
InterSystems Developer Community
How to execute a program from a program and capture the results from the executed program
Hi,I have a program that displays the current running processes to the screen. I need to have a program execute that display program and capture the results to a file. The display prog