Rechercher

Question
· 49 min il y a

Using EnsLib.RecordMap.Service.FTPService and validation within the RecordMap

I am trying to add validation to a RecordMap, because the source of the data sent file sent us bad data within the file. So, I am using PATTERN to verify certain fields start with Numeric, and Alpha where applicable. When the EnsLib.RecordMap.Service.FTPService runs into an issue it doesn't seem like it continues onto the next record if the record does not meet the validation requirements. 

How can I tell EnsLib.RecordMap.Service.FTPService to log the error and continue onto the next record, so those records that fail are not processed?

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· 55 min il y a

Regarding best practices for integration between different datasets and namespaces.

In some cases, it's necessary to manipulate data from one namespace to another. For example, a routine in the "N1" namespace needs data from the "N2" namespace. In legacy systems (using only globals), it's common to make the global universal, but what about persistent classes? Is this type of globalization also possible?

In the same context, how could I make a persistent class global for all namespaces? The only way I know is by putting it in %SYS. For example, to build a class from the "N1" namespace in the "N2" namespace, I need to use the pipe or the ZN function, but this somewhat reduces the productivity of the IDE (VS Code, Studio...), because the class doesn't exist in the namespace I'm working in, and this affects the autocomplete of methods, attributes, etc.

What would be the best practices for these use cases? Can I build this type of class in %SYS?

3 nouveaux commentaires
Discussion (3)2
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· 2 hr il y a

Nos vemos en Madrid: InterSystems READY 2026 - una oportunidad para hablar de IA

Hola, Comunidad:

📆 El 19 de febrero tenéis una cita muy especial en el Espacio Covarrubias The One, en Madrid.

Llega InterSystems READY 2026. Una oportunidad de compartir conocimiento sobre IA generativa, analítica en tiempo real y conocer partners muy potentes del sector. Tendremos invitados muy especiales, muchas sorpresas y detalles que os iremos revelando.

¿Queréis saber más? Reservad vuestra plaza aquí https://bit.ly/43Gp8T9 y guardaos la fecha en vuestro calendario. 

Estad atentos...

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· 3 hr il y a

Problem by using String Var in embedded SQL where criteria

Hallo, I am new on programming Object Script.

My problem: How can I use a String variable in embedded SQL?

The below example does not work by using: namevar with ' ' 

set namevar = 'Ali'

&sql(DECLARE C2 CURSOR FOR SELECT name INTO :name FROM person where name = 'namevar')

Only below will work: person where name = 'Ali' 

Thanks in advance

1 nouveau commentaire
Discussion (1)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· 6 hr il y a

[Video] Generative AI in InterSystems Data Studio

Hey Developers,

Enjoy the new video on InterSystems Developers YouTube

⏯ Generative AI in InterSystems Data Studio @ READY 2025

Learn how InterSystems Data Studio (IDS) helps organizations unify data from diverse sources, including relational databases, files, PDFs, Salesforce, SAP, and more, to support reporting, analytics, and operational decision-making. Now, with the addition of an embedded generative AI-powered Assistant, business users such as executives, managers, analysts, and clinicians can ask questions in natural language to explore data, uncover insights, and automate tasks. Teams across the organization can even deploy customized Assistants with tailored names, personalities, and domain-specific knowledge. All interactions are governed by robust access controls, ensuring users only access the data they’re authorized to see enabling secure, effective, and user-friendly data-driven decision-making at every level.

Presenters:
🗣 @Amir Samary, Director, Solution Architecture at InterSystems
🗣  @Phillip Booth, Lead Solutions Developer at InterSystems

Want to learn best practices? Watch this video and subscribe to learn more!

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer