Find

Article
· 1 hr ago 2m read

Use o IRIS Load Data no VSCode

O utilitário Load Data é uma excelente ferramenta para carregar dados de arquivos CSV/TXT para uma tabela SQL do IRIS, mas é necessário enviar o arquivo de destino para o servidor IRIS e escrever a instrução Load Data para ingerir o conteúdo do arquivo. Agora é possível selecionar um arquivo no VSCode, definir a tabela de destino e enviar a solicitação. O utilitário vscode-load-data enviará o arquivo para o servidor IRIS e executará o comando Load Data para você! Muito simples:

Instale a extensão do vscode-load-data

1. Faça o Download da extensão: https://github.com/yurimarx/vscode-load-data/raw/refs/heads/main/intersystems-load-data/intersystems-load-data-0.0.1.vsix

2. Abra qualquer projeto InterSystems IRIS que use Docker container.

3. Vá em Extensions (Crtl + Shift + X): 

4. Clique no botão no topo ... :

 

5. Selecione a opção Install from VSIX:

6. Verifique no seu ambiente Docker o nome do seu contêiner IRIS (no meu exemplo, é iris-cdc-sample-iris-1): 

7. Abra o arquivo .vscode/settings.json e adicione as seguintes linhas ao final do arquivo:

"irisImporter.containerName": "iris-cdc-sample-iris-1",
    "irisImporter.namespace": "USER"

Resultado final (para mim é iris-cdc-sample-iris-1 e namespace USER):

8. Crie um arquivo CSV/TXT em seu projeto VSCode:

O conteúdo de exemplo:

PersonName,PersonAge,PersonGender
Liam Johnson,25,Male
Olivia Smith,34,Female
Noah Williams,19,Male
Emma Brown,42,Female
Oliver Jones,56,Male
Ava Garcia,29,Female
Elijah Miller,31,Male
Sophia Davis,22,Female
James Rodriguez,45,Male
Isabella Martinez,67,Female
William Hernandez,38,Male
Mia Lopez,24,Female
Benjamin Gonzalez,51,Male
Charlotte Wilson,33,Female
Lucas Anderson,27,Male
Amelia Thomas,20,Female
Henry Taylor,48,Male
Harper Moore,26,Female
Alexander Jackson,39,Male
Evelyn Martin,60,Female

9. Certifique-se de ter um contêiner Docker em execução.  

10. Certifique-se de ter um arquivo de texto ou CSV para importar e uma tabela de destino no IRIS. Os nomes dos cabeçalhos no arquivo e os nomes das colunas na tabela devem ser os mesmos.

11. Para este exemplo, se você ainda não tem a tabela SQL, crie-a:

create table dc_cdc.SamplePerson (
    PersonName VARCHAR(200),
    PersonAge INT,
    PersonGender VARCHAR(10)
)

12. Clique com o botão direito do mouse no seu arquivo CSV e selecione "Importar para o contêiner Docker do IRIS":

13. Preencha a tabela SQL que receberá os dados (no meu caso, dc_cdc.SamplePerson).:

14. Clique no botão Carregar dados

15. O terminal mostrará os resultados.: 

16. Use o SQL Explorer para verificar os resultados.:

17. Aproveite sua nova extensão!

Discussion (0)1
Log in or sign up to continue
Article
· 3 hr ago 1m read

Load data into servers (local or remote) from within VS Code

I'm pleased to announce the publication of gj :: dataLoader, a new VS Code extension that simplifies the task of loading data from local CSV files into SQL tables on your InterSystems IRIS servers.

Here's an introductory video:

gj :: dataLoader is now available on Marketplace for direct installation into VS Code. It is my entry in the "Bringing Ideas to Reality" Contest 2025 and implements this idea - https://ideas.intersystems.com/ideas/DPI-I-667

Feedback is welcome.

Discussion (0)1
Log in or sign up to continue
Announcement
· 4 hr ago

Apresentando o Bot de IA para a Comunidade de Desenvolvedores

Olá Desenvolvedores,

Temos ótimas notícias: a Comunidade de Desenvolvedores agora conta com uma ferramenta auxiliar nova, inteligente e proativa:

🤖 Bot de IA da Comunidade de Desenvolvedores, também conhecido como @DC AI Bot 🤖

Utilizando a mesma tecnologia de Busca Vetorial IRIS do assistente de IA da CD, nosso novo @DC AI Bot leva isso um passo adiante:

👉 Ele analisa automaticamente todas as perguntas recém-publicadas — e, se encontrar uma resposta relevante, deixa uma resposta diretamente nos comentários.


Embora o bot tenha como objetivo fornecer respostas úteis e rápidas, observe que suas respostas podem nem sempre ser totalmente precisas ou completas. É por isso que todas as respostas do @DC AI Bot são revisadas por nossa equipe de moderadores, que são desenvolvedores experientes do IRIS, para garantir a melhor qualidade possível.

Portanto, se você acabou de postar uma pergunta, fique de olho nas suas notificações — o DC AI Bot pode já ter a resposta que você precisa!

Conte-nos o que você achou — e dê as boas-vindas ao nosso mais novo ajudante, @DC AI Bot, à Comunidade!

Discussion (0)1
Log in or sign up to continue
Announcement
· 4 hr ago

Share your insights!

We value your feedback on the learning resources you use to get the most from InterSystems products. Whether you've taken self-paced or live courses, explored the documentation, or gotten certified, we'd love to hear from you!

How can InterSystems improve its learning resources in 2026? Take the survey.

Let us know which of our learning resources you've used, and what has been helpful. Your insights will help us improve our offerings in 2026 and beyond!

Survey ends December 19, 2025.

Discussion (0)1
Log in or sign up to continue
Question
· 5 hr ago

How to edit Enterprise System "Web IP Adress" setting without causing automatic Node Creation ?

Hi community,

we recently updated our Health Connect instance from 2021.1 to 2024.1 and also migrated to new hardware. The production environment is connected to an enterprise message bank system.

After going live with the new system we recognized, that enterprise system nodes in the messagebank were automatically created using a hostname for the "Web IP Address" setting, which actually had changed (to the hostname of the former production environment) before starting the production and sending messages. The "Client Nickname" contains the correct hostname. These nodes are therefor not able to connect to the target at the moment.

 

When editing the system's Web IP Address (which is mandatory as the hostname has changed an the corresponding certificate is published for the hostname ending in 1p), a new node is created with empty Node Id. The automatically created node remains like automatically created.

This behaviour has effects on our message resend workflow, as no default target system is automatically selected and target system and config item have to be selected manually from the dropdown menu. The original node is marked with "Target not running"

 

This means additional work an clicks and gets more and more anoying over the time.

The question this leads me to: Is there a way to manipulate the automatically created node's "Web IP Address" setting without causing the creation of a new node without Node Id?
We would like to update the Web IP Address in a way that keeps the Node ID to allow the automatic preset of the Target Client in the Message Resend dialog. The other option would be to assing the former hostname as an alias and change certificate creation to create valid certificates for both hostnames. If there is no other way, I'd go for this solution, but I would at least ask the experts if there is any other way...

Thanks and kind regards,

Martin

Discussion (0)1
Log in or sign up to continue