Question Muhammad Waseem · Sep 24, 2021

Hi

Following API:
http://api.aladhan.com/v1/gToH?date=24-09-2021
is returning following JSON response:
{"code":200,"status":"OK","data":{"hijri":{"date":"16-02-1443","format":"DD-MM-YYYY","day":"16","weekday":{"en":"Al Juma'a","ar":"\u0627\u0644\u062c\u0645\u0639\u0629"},"month":{"number":2,"en":"\u1e62afar","ar":"\u0635\u064e\u0641\u064e\u0631"},"year":"1443","designation":{"abbreviated":"AH","expanded":"Anno

8
1 548
Article Laurel James (GJS) · Oct 7, 2021 1m read

Hi developers, 

We've incorporated VS Code's support for multiple concurrent debug sessions and consoles into the latest release of Serenji

So if you're working with processes that relate or are dependent on each other, you can now debug them together. Just launch a second Serenji debug session (F5) whilst the first one is still active. 

This short video below shows how it works. We hope you find this feature useful! 

Laurel 

[![Serenji 3.2 multiple concurrent debug sessions](https://res.cloudinary.com/marcomontalbano/image/upload/v1633610169/video_to_markdown/images/youtube--cs6UiAvUj24-c05b58ac6eb4c4700831b2b3070cd403.jpg)](https://youtu.be/cs6UiAvUj24 "Serenji 3.2 multiple concurrent debug sessions")
0
0 232
Question Benjamin De Boe · Jan 6, 2016

When refreshing a html or tablePane component using refreshContents() that takes a lot of server-side-processing, I'm running into timeouts every now and then. i.e., the result for the tablePane is that there's nothing displayed at all.

How can we configure (relax) that timeout so also those heavier ones get refreshed eventually? Just overriding %request.Timeout in %OnPreHTTP did not seem to do the trick.

2
0 971
Announcement Anastasia Dyubaylo · Oct 1, 2021

Hi Community,

Join the upcoming InterSystems Interoperability Contest Kick-off Webinar dedicated to the Interoperability Contest.

In this webinar, you'll get an overview of the interoperability capabilities of InterSystems IRIS, and we'll show you how to use the PEX. Also, we’ll discuss and answer your questions on how to build interoperability solutions using InterSystems IRIS and IRIS for Health.

Date & Time: Monday, October 4 — 12:00 AM EDT

Speakers:  
🗣 @Stefan Wittmann, InterSystems Product Manager 
🗣 @Bob Kuszewski, InterSystems Product Manager 
🗣 @Evgeny Shvarov, InterSystems Developer Ecosystem Manager


5
0 419
Question Rosalie Banlaygas · Sep 26, 2021

Our company is using Cache FDBMS for Medtrak.

I am trying to insert a record with the following data types : date, time, string and memo field (multiline).  The SQL insert/update works fine without the memo field.  

Here's my SQL statement

Insert into MR_SUB (MRSub_Date,MRSUB_Time,MRSUB_Update,MRSUB_Desc) values(:DTE, :time, :use, :remarks)

Based on FDBMS docs. MRSUB_Desc is a multiline/memo data type 

Hope somebody can help.  Thanks

6
0 468
Announcement Shane Nowack · Oct 6, 2021

Hello everyone, 

InterSystems Certification has redesigned their IRIS System Administration certification exam, and we again need input from our community to help validate the topics. Here's your chance to have your say in what topics are covered on the InterSystems IRIS System Administration Specialist exam! And, yes, we'd like to hear from you Caché admins too!

Here's the exam title and the definition:

InterSystems IRIS System Administration Specialist

An IT Professional who:

  • installs, manages, and monitors InterSystems IRIS environments, and
  • ensures data security, integrity, and high
0
1 339
Announcement Anastasia Dyubaylo · Oct 6, 2021
0
0 144
Question Sivasubramani Nagendran · Sep 1, 2021

Hello,
        
        We are using AWS SSO authentication in our application to validate the users. For validating the users, we are passing the username and password from AWS SSO to our application. We need to validate the user in our application without using the password.

         We developed the login class using zenPage. We used <loginForm> tag in the login page which is used for the automatic validation.
         Is there any possible way to achieve this?
         

Thanks in advance.

1
0 343
Question Jonathan Lent · Oct 4, 2021

Before I run down the "overengineered solution" path, I wanted to throw this out to the group.

We will be receiving HL7 messages via TCP/MLLP that have a PDF document stored in a single OBX segment. As the volume is expected to be somewhat high and the documents could be megabytes in size, it would be preferable to save the PDF payload to disk and replace it with a filesystem path before IRIS does it's first Save%. The idea being that we would than implement an OnDelete that would remove the file when the HL7 message is purged.

In trying to find a cutpoint where I can override something to do

4
0 318
Question Marlin Mixon · Sep 26, 2021

I have a %Stream that I want to insert some text into the middle of.  I create a new stream called pNewContentStream from the original stream, then I do a MoveTo in pNewContentStream to get to the byte position I want to insert into but when I do my Write, my pNewContentStream gets obliterated with only the text that I wrote, the original content goes away and all I'm left with is my Write text.

Method AddContentTypeCode4(pContentStream As %Stream.GlobalCharacter, Output pNewContentStream As %Stream.GlobalCharacter) As %Status{Set tStatus = $$$OKtry {Set tTemp = pContentStream.Read()
17
0 813
Question Norman W. Freeman · Oct 5, 2021

I would like to know if an encrypted caché database can run significantly slower than a normal "unencrypted" database, in a way that is noticeable to the end user (e.g. slower response time for most pages, especially the ones that rely on read/writing to globals).

I searched in Intersystems knowledge base and couldn't find anything related. I'm looking for possible before/after benchmarks.

3
0 417
Announcement Michael Pine · Oct 5, 2021

As of today, the Angular Clone CCR page is now live for CCR Beta Users.   Beta testers will be sent to the Angular clone page from anywhere you would normally clone a CCR. No existing functionality will be lost.

Any issues or feedback can be reported here or in your regular support channels. 

Many thanks to our CCR UI beta testers!  If you would like to join the beta tester program, you can enable the checkbox on your CCR user page here.

Other pages in Beta: Create CCR Page

Pages coming soon: Merge, Groups

1
0 181
Article Laurel James (GJS) · Oct 5, 2021 2m read

The most recent release of Serenji features our innovative gj::locate technology. It was a standalone tool we originally created for a Developer Community contest earlier this year, but we've incorporated it into our debugger after some great feedback from developers. 

It works by navigating you directly to the source of your server-side errors in just a couple of clicks - enabling you to quickly fix errors without the need to count tedious lines of code... and let's be real, who has got time for that when you're under pressure to fix this bug? 

It's simple and straightforward to use:

  1. Click on
0
0 241
Question Michel Bruyère · Sep 30, 2021

Hello,


I’m looking for a way to find out which category of portal a connector belongs to.
I looked at the class ‘Ens.Config.Production’ and ‘Ens.Config.Item’ but without success.


An idea about the ‘ObjectScript’ code to design?

Best Regards.

11
0 378
Article Julio Francisco · Mar 31, 2019 3m read

Hello

I made for fun a bash script that creates csv files from a %GOGEN exported file. %GOGEN, the utility for exporting globals for Cache 5.xx

First I thought it would be very simply with bash, but ...

  • if I want a header in the csv file
  • if you export with GOGEN more globals together not only one
  • if I want a csv file for every global/indexes has the global ..

The simply bash script goes up 100 lines of code. If I will start again with this, I would use Python or Go, not bash.

Example:

For a EXPORTED.GLO file

    Transferring files on Mar 30 2019 at 10:24 AM
    ^ALD(20190330
5
0 831
Announcement Michelle Spisak · Oct 4, 2021

Have you read the September newsletter from InterSystems Learning Services? You'll find info about:

•    The 2021 Virtual Summit Experience Labs
•    Developing database code in Python 
•    InterSystems Security Basics: Now updated for InterSystems IRIS and InterSystems IRIS for Health®
•    New documentation content for upcoming releases, including features that are part of the 2021 Experience Labs

Plus upcoming virtual classroom courses! Read September's newsletter, and subscribe to receive it in your inbox!

 

0
0 149
Question Matjaz Murko · Sep 29, 2021

Hi.

What is the best/right way to unlock the object in ObjectScript after the lock was acquired by %OpenId class method? Setting the opened object to null (Set object="") doesn't release the lock.

Regards,

Matjaž

19
0 862
Question Jodrick Sieyanji · Sep 30, 2021

i want to write a application for educational purposes which will be able to write,  read and store name , surnames and birthdays of patience in a database in Caché ObjectScript

this are the codes i have already written can someone help me out. 

// fill in ^Data with sample data
 For = 1:1:100 {
     // Set each node to a random person's name
     Set ^Data(i,"name") = ##class(%PopulateUtils).LastName()
      Set ^Data(i,"surname") = ##class(%PopulateUtils).FirstName()
       Set ^Data(i,"birthday") = ##class(%PopulateUtils).Date()
 }
 

9
0 475
Question Edward Jalbert · Oct 1, 2021

I have a requirement which comes down to evaluating two fields, if they are both empty then provide a default value.

If one is empty but the other has a value, then set the empty one to the field with a value.

The screenshots are not the actual fields, I was just using the dtl and fields to prove out the solution.

When I saved and compiled in the Management Portal I got an error, but it still compiled.

I then went to studio and opened the dtl, using view-->other code then compiled and did not get the error.

Wondering if this is a true error or just an anomaly?

The code does at least through the

4
0 285