Search

Clear filter
Question
Ruiyan Yu · Feb 9, 2022

ERROR #5540: SQLCODE: -104 Message: Field

As %Library.String(MAXLEN = 32000) [ SqlColumnNumber = 13 ]; /// Bitmap Extent Index auto-generated by DDL CREATE TABLE statement. Do not edit the SqlName of this index.Index DDLBEIndex
Article
Rubén Larenas · Sep 7, 2021

Scrollable ResultSet Pagination Sample

{ FOR i=1:1:pageSize{ Do out.%Push({ "index": (i), "pid": (rs.%Get("ID")), "ssn" : (rs.%Get("SSN
Question
Megumi Kakechi · Jul 11, 2016

ZEN Mojo : file download code sample

(value,index) { console.log('urlList:index='+index+' = '+value); console.log('match() : '+value.match(".+/(.+?)([\?#;].*)?$")[1]);promise = promise.then( function() {var
Question
Nicki Vallentgoed · Jun 2, 2017

Collection vs parent child vs Reference vs One to many

difficult. Would it make more sense to just use a 'stand alone' class with foreign key? Class CinemaFilm { Property cinema As Cinema; Property film As Film; Index idxa
Article
Luis Angel Pérez Ramos · Jun 27, 2023

Predictions with Integrated ML and IRIS

fracture in Castilla y León (Spanish autonomous region) between the years 2020 and 2022. As you can see we have data such as the age and sex of the patient, dates of admission
Question
Fiona Griffiths · Nov 22, 2018

Embedded SQL bug

As %String(MAXLEN = 60, TRUNCATE = 1);Index EntSysLbl On (EntSys, Lbl);Index LblKey On (EntSys, Lbl, EffEndDat);}Create an entry:SET ; s email=##class(My.Email).%New() s
Question
Matjaz Murko · Jul 10, 2021

JSONExport

Ident As %String; Index LabelId On (Department, Ident) [ IdKey, Unique ]; Property Name As %String; Index Name On Name; Property Width As %Integer; Property Height As %Integer
Question
Cristiano Silva · Jun 9, 2020

Consuming a REST Sevice with Digest Authenctication

(%xsd.hexBinary).LogicalToXSD($System.Encryption.MD5Hash(value)), "L")} GetHeaderVar(header, varName) Public { Set listVars = $ListFromString(header, ",") For index = 1 : 1 : $ListLength
Question
Craig Bishop · Jun 22, 2022

Populate relationship property on existing data

no existing parent object. We are also deleting the old Index Global entry, as well as logging various information to a global. The method we used to populate the relationship
Question
Lakin Ducker · Nov 28, 2018

How can I have HealthShare respect relative paths for javascript and css files that are referenced in the index.html file?

I am new to InterSystems.I have set up a simple application in HealthShare.Name: /testwebappCSP Files Physical Path: /Users/lakinducker/Documents/Dev/testwebapp/dist/testwebappIn
Article
Danny Wijnschenk · Nov 5, 2017

Advent of Code 2016 Day5: How about a Nice Game of Chess

: ClassMethod Part2() { #Dim input as %String = "reyedfim" #Dim password,display as %String = " " #Dim hash, md5Hash, hex, hex1 as %String #Dim index, iHash as %Integer
Article
Vitaliy Serdtsev · Dec 15, 2017

$(REST - CSP - (-HyperEvents) + EasyUI + File Upload). Part 4

"; // create the index temp = {}; _ref = options.q; for (_i = 0, _len = _ref.length; _i < _len; _i++) { e = _ref[_i]; // predefine the childs array
Article
Gevorg Arutiunian · Aug 16, 2018

Routine to Parse Options in Args Array

optInfo = $get(known($zstrip(arg, "<>", "-/:"))) if $length(optInfo)>0 { #dim type As %Integer = $li(optInfo,1) #dim index
Article
Muhammad Waseem · Apr 5

How to Build an Agentic AI RAG Application: A Step-by-Step Guide

. Implementation Steps: Create Agent Tools Add Ingest functionality: Automatically ingests and index documents (e.g., InterSystems IRIS 2025.1 Release Notes). Implement
Discussion
Sylvain Guilbaud · Feb 21, 2022

How to efficiently store historical data, similar to current data, without mixing physical storage

, model.PersonBase, Utils.Copyable) { Index parentIndex On parent; /// Creation timestamp (UTC) Property createdOn As %TimeStamp(POPORDER = -1, XMLPROJECTION = "NONE") [ InitialExpression