Hi guys!

Was coding today with InterSystems IRIS in a docker container and decided to share with you the commands you may find useful in everyday coding.

# docker-compose build

command to build a container. Remember, it is useful if you have dockerfile in the repo.

if the build is successful call the following to launch it:

# docker-compose up -d

Find IRIS management portal on:

localhost:port/csp/sys/%25CSP.Portal.Home.zen?$NAMESPACE=%25SYS

where the port is what you set in docker-compose.yml - 52775 in this case.

Run the following if you want to launch a terminal session inside IRIS container:

# docker-compose iris iris session iris

USER>

And run the following to shut down the container:

# docker-compose down

Troubleshooting

+ 3   2 1
0

comments

35

views

+ 3

rating

Hi Community!

This is the update on what are the new applications submitted on OpenExchange in June 2019!

New Applications

Example Backup Task published by @Sergey Mikhailenko

Sample database backup copying task with prior deletion of outdated copies

A more useful Object Dump published by @Robert Cemper

This small helper class allows you to dump an object to terminal or
e.g in background to some stream for later review.

Samples BI published by @Evgeny Shvarov on behalf of InterSystems

This is a technology example of InterSystems Business Analytics tool with Cubes, Pivots, MDX Queries and Dashboards. The Sample is  formerly known as "Holefoods "

Interjob communication Demo published by @Robert Cemper

It's internal variant of PIPE

Last comment 6 days ago
+ 2   0 2
30

views

+ 2

rating

¡Hola chicos!

Como sabes, hay dos (al menos) formas de obtener el valor almacenado de una propiedad de una clase InterSystems IRIS si se conoce el ID de una instancia (o un registro).

1. Obtener mediante la propiedad de una instancia con "Acceso a objetos":

 ClassMethod GetPropertyForID(stId As %Integer) As %String

{

set obj=..%OpenId(stId)

return obj.StringData

} +++ ++ 
 

2. Obtener mediante una columna del registro con "acceso SQL":

 ClassMethod GetColumnForID(stId As %Integer) As %String

{

&sql(select StringData into :sd from Ideal.StoredData where id = :stId)

return sd

} 
 
 

Last comment 2 July 2019
0   0 2
0

answers

17

views

0

rating

Hi guys!

As you know there are two (at least) ways to get the stored value of the property of InterSystems IRIS class if you know the ID of an instance (or a record).

1. Get it by as a property of an instance with "Object access":

ClassMethod GetPropertyForID(stId As %Integer) As %String

{

set obj=..%OpenId(stId)

return obj.StringData

}

2. Get it as a value of a column of the record with "SQL access":

Last answer 29 June 2019 Last comment 10 days ago
0   0 4
109

views

0

rating

¡Hola colegas!

Imaginaros que tenéis un gran conjunto de cubos, tablas pivotes y cuadros de mando en vuestra solución DeepSee.

Entonces si cambiamos un nivel, medida o dimensión en el cubo y ¿hay alguna forma de probar que estos cambios no afectaron las tablas pivotes actuales, los cuadro de mandos,  etc.?

¿Cómo se puede probar esto?

¿Cómo tu pruebas tus soluciones DeepSee?

 

0   0 1
0

answers

0

comments

15

views

0

rating

Hi Community!

I have very good news for the developers, who are using Github to host projects with InterSystems ObjectScript.  Github introduced the support of InterSystems ObjectScript this week!

How does it work?

Now all the .cls files in your repository are considered as InterSystems ObjectScript and highlighted according to the language rules of ObjectScript. For example WebTerminal, Samples-Data.

Last comment 11 June 2019
+ 17   1 6
462

views

+ 17

rating