Encontrar

Pregunta
· 31 ene, 2025

manter apenas o objeto da rotina COS (caché object script) para preservar o fonte rotina.mac

Temos algumas rotinas *.mac e precisamos preservar o fonte delas, pois estas rotinas têm autoria intelectual e apenas podem ser utilizadas por sessão de direito de uso (não podendo ser visualizada ou editada). A pergunta: como manter apenas o objeto da rotina no namespace do IRIS, sem interferir na sua execução?

3 comentarios
Comentarios (3)3
Inicie sesión o regístrese para continuar
Anuncio
· 31 ene, 2025

[Video] Unlocking Business Value: Case Studies in InterSystems Supply Chain Orchestrator

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ Case Studies in InterSystems Supply Chain Orchestrator @ Global Summit 2024

Learn about the transformative power of Supply Chain Orchestrator through client case studies across verticals, including public sectors and healthcare. We will delve into the dynamic world of supply chain solutions, where this solution and its GenAI and ML capabilities has redefined operational efficiency and optimized business outcomes.

Presenters
🗣 @Ming Zhou, Head of Supply Chain Product Strategy, InterSystems  
🗣 Mark Holmes, Senior Advisor, Global Supply Chain, InterSystems

Love what you see? There’s more where that came from — subscribe now!👍

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 31 ene, 2025 Lectura de 1 min

Correctly manage the system time of my IRIS container

In a containerized environment, you can manage your container time via the TZ variable or via the /etc/timezone and /etc/localtime directories:

environment:
      - TZ=Europe/Paris
volumes:
    - "/etc/timezone:/etc/timezone:ro"
    - "/etc/localtime:/etc/localtime:ro"

You can find complete examples here:

IRIS Community

IRISHealth_Community

IRIS production

IRISHealth production

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 31 ene, 2025 Lectura de 1 min

Gérer correctement l'heure système de mon conteneur IRIS

Dans un environnement conteneurisé, vous pouvez gérer l'heure de votre conteneur via la variable TZ ou via les répertoires /etc/timezone et /etc/localtime :

environment:
      - TZ=Europe/Paris
volumes:
    - "/etc/timezone:/etc/timezone:ro"
    - "/etc/localtime:/etc/localtime:ro"

Vous pouvez retrouver des exemples complets ici :

IRIS Community

IRISHealth_Community

IRIS production

IRISHealth production

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 31 ene, 2025

How to use %ValidateObject with %Dynamic properties?

 I am creating a class to validate JSON body of requests. When I use the method %ValidateObject to check errors in the object, if I define some properties with %DynamicObject or %DynamicArray and use the Required parameter, this method does not work, it ignores validation, only works with properties %String, %Integer etc.

Class test.Example Extends %RegisteredObject
{

Property id As %Integer [ Required ];

Property name As %String [ Required ];

Property fieldOptions As %DynamicArray [ Required ];

Method %OnNew(id As %Integer, name As %String, fieldOptions As %DynamicArray) As %Status [ Private, ServerOnly = 1 ]
{
    Set ..id = id
    Set ..name = name
    Set ..fieldOptions = fieldOptions
}
// fieldOptions is ""
Set test = ##class(test.Example).%New(1, "name", "")

Set obj = test.%ValidateObject()

Set message = $System.Status.GetOneErrorText(obj, 1)

Write message

// Return is "OK"
2 comentarios
Comentarios (2)1
Inicie sesión o regístrese para continuar