Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in September 2021:
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in September 2021:
Is there a way to create anything like this?
.png)
Multiples result sets.
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.
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
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()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.
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
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:
Folks,
I am looking to migrate a few legacy debt collection applications built using InterSystems Cache to AWS. Does anyone here have any experience, ideas and best practices on migrating Cache products to the public cloud?
Regards
Sudarshan
+1-917-685-3551
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.
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 ...
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(20190330I tried out CSV Record Wizard with my dat file from Analytics contest:
https://raw.githubusercontent.com/oliverwilms/iris-analytics/master/dat…
.png)
.png)
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!
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ž
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 i = 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()
}
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.
.png)
When I saved and compiled in the Management Portal I got an error, but it still compiled.
.png)
I then went to studio and opened the dtl, using view-->other code then compiled and did not get the error.
.png)
Wondering if this is a true error or just an anomaly?
The code does at least through the
Hi
While accessing Gartner Peer Insights feedback page I am getting below error:
.png)
How can I access this feedback page?
Thanks
We have a lookup table that we need to populate across different namespaces. Is it possible to CCR a lookup table to allow the table to be synched across our environments?
Hi,
I'm trying to connect to IRIS with .NET 4.5 and I see is quite different from Cache Method.
I have a connection and I can invoke a Method but I can't get %Stream.GlobalCharacter value as Class property and I can't use it in a ByRef parameter. With Cache we had the Intersystems.Data.CacheTypes namespace to use this "special" types.
Is there any documentation to use the %Stream.GlobalCharacter as class property and ByRef Param?
Thanks!
If one of your packages on OEX receives a review you don't get notified by OEX only on YOUR package.
So @Evgeny Shvarov suggested publishing my monthly summary of reviews here in DC.
It reflects my experience with the status I found at the time of my review.
We just upgrade from cache 2016.2 to IRIS 2020.1.1.
After this upgrade we cannot access to the portal web management, and dont give errors about that just this:
09/28/21-15:59:16:654 (20192) 1 [Utility.Event] Private web server has not started after 5 seconds.
Is this normal?
I followed the guide but dont talk nothing about that.
This is a normal problem when upgrading?
Thanks!!
Hi all,
I wonder how to sync my server code to my local code using Visual Studio Code.
Previously, using Atelier, you could open a view of server and can copy the code to the current project, also if I change a BP, I could sync the code because I had a signal that It's warning me that there was a change and it needs to be updated.
I thing i shouls opening the ObjectScript: Explorer and select the code directaly, and right click -> Import and compile current file (Ctrl + F7)
If I use this command, the ouptut window shows:
Hey Community,
Get ready for the next French Stream on InterSystems Technologies!
The new monthly event hosted by @Guillaume Rongier for French-speaking developers familiar with InterSystems technologies will be live stream October 7th at 12:00 Paris time. You will discover all the news and tips related to our solutions!
👉 Direct link to join: https://youtu.be/Rbp-u-3vY-8
On the Agenda:
Hello,
I'm experiencing a recurrent problem that I haven't found the way to solve, so I'm coming here with the hope somebody can give me a new approach.
To make it short: we are creating categories on-demand to be able to place the maximum numbers of workers in memory, avoiding the limits established by system categories. But from time to time, one of this creation fails and system is no able to start the queue. The error we are getting is:
ERREUR #7823: Invalid work queue manager category supplied 'User.65733'.1<INVALID OREF> The code is very simple:
sHi developers,
Serenji 3.2.0, the latest version from George James Software, was released last week and our current users have been enjoying trying out the new features (which you can find more about here).
If you're thinking about trying Serenji for the first time, we've made it easier to get set up by adding a walkthrough on the VS Code Welcome page. It takes you through:
We've also added prompts and guidance throughout VS Code to open and add Serenji folders to your workspace and when going to run and debug code.
This is just one of the ways we've enhanced the Serenji debugger to make straightforward and easy to use - so all you need to do is focus on your code.
[](https://bit.ly/3odciYG "Serenji 3.2.0 Welcome Page Walkthrough")I am trying to convert a valid date range (Previous Day - Current Day) to a valid date/time range (-15 mins from current date/time to current date/time) for a Task to run (Format needs to be YYYY-MM-DD hh:mm:ss)
Code being used currently for date range is
set previousDay=$zdatetime($horolog-1,3)
set currentDay=$zdatetime($horolog-0,3)
Can anyone help?
I am executing the command:
set fileComp = ##Class(SYS.Database).FileCompact(obj.Directory, freeSpace, .actualFree)
where obj.Directory contains the location of the current database
This executes correctly. However, the resultant OREF object does not contain any displayable properties but rather is of the value:
"0 "_$lb($lb(380,,,,,,,,,$lb(,"%SYS",$lb("e^zFileCompact+38^SYS.Database.1^1","e^^^0"))))/* ERROR #380: Completed but skipped some blocks, details recorded in the console log. */
Which is what I expected.
I can start cache without issue. There are no errors in the console log. However, when I access the management portal the page fails to display instead displaying the error page with the error "CSP application closed the connection before sending a complete response". This was working yesterday so the root cause is not clear. Reviewing all log files, the only error I have found is in the csp.log. The error is:
>>> Time: Mon Sep 20 06:54:19 2021; RT Build: 1801.1632a (win32/apapi:srv=2.4.20/apr=1.5.2/apu=1.5.4/mpm=WinNT); Log-Level: 6; Gateway-PID: 15516; Gateway-TID: 10232; Connection-No: 0;