Question Simon Barker · Aug 4, 2020

Hi,

I've added a REST service which worked fine on our test system but failed on the production environment because UnknownUser does not have %All set and I really don't want it set on production (in fact I've also switched it off on test).

Is there a way to allow a single REST service to have unauthorised access?

I was thinking adding a resource/role to UnknownUser specifically for that service but I've never touched on Users/Roles/Resources so I'm struggling to work out what needs adding where.

Thanks

2
0 391
Article Renato Banzai · Jul 19, 2020 3m read

This is the third post of a series explaining how to create an end-to-end Machine Learning system.

Training a Machine Learning Model

When you work with machine learning is common to hear this work: training. Do you what training mean in a ML Pipeline? Training could mean all the development process of a machine learning model OR the specific point in all development process that uses training data and results in a machine learning model.

Source

So Machine Learning Models are not equal Common Applications?

In the very last point it looks like a normal application. But the concept is pretty dif

picture

10
2 439
Article Evgeny Shvarov · Aug 2, 2020 1m read

Hi Developers!

As you know the application errors live in ^ERRORS global. They appear there if you call:

d e.Log() 

in a Catch section of Try-Catch.

With @Robert Cemper's approach, you can now use SQL to examine it.

Inspired by Robert's module I introduced a simple IRIS Analytics module which shows these errors in a dashboard:

5
1 406
Announcement Anastasia Dyubaylo · Aug 3, 2020
0
0 152
Question Florian Hansmann · Aug 3, 2020

Hello Intersystems-Community,

I build an API and there I use $order to get the Data from my Globals.
When I first time use that API it's get an error (504 Gateway-Timout > 60 Sec.).

After 2 reloads it works with a loading time of 2 Sec.! Sounds for me like the $order is cached and it works faster. Is it true $order will be cached?

When it works, I only get the error at the next day. So it's very hard to reproduce that error. Is it possible to delete the cache for $order?

Example:

        set a = ""
        for {
            set a = $order(^SD031S("0","7",x,a))
            if (a = "")
8
0 523
Article Robert Cemper · Aug 3, 2020 3m read

In most cases, a global used by default storage has just 1 subscript level that represents the IDKEY.
For an index-globals we may see 2 or more subscript levels.
Arrays, or parent-child relationships or persistent classes extending a base data class
are examples where we see more levels. Though all these globals are quite uniform.

0
2 507
Question sjbttt sjbttt · Apr 8, 2020

Now I want to return a large amount of data to the front end. The string length has reached 40000 +, and the returned data needs to be encrypted by AES + Base64. I can convert the string into a stream. AES can use the AESCBCEncryptStream method to encrypt, but Base64 has no stream method。Anyone who get the solution  would you kindly share the solution please。

Any help would be appreciated. Thanks!

10
0 15184
Question Marcio Nascimento · Jul 28, 2020

Hello for everyone.

We recently started our migration to the cloud.

We left a unix environment for a Windows 2016 environment and everything seems normal except for the error ( <ZSOAP> zInvokeClient + 208 ^% SOAP.WebClient.1 ) when we try to consume a web service. In fact, any webservice.
The classes have been exported and recompiled but do not work.
Apparently by the complements of the error DO $ System.OBJ.DisplayError () (ERROR # 6246: There was no response to the SOAP request) or the $ system.Status.DecomposeStatus (% objlasterror, .erro) shows the following:

err = 1
err (1) =
1
0 2167
Article Yuri Marx · Jul 29, 2020 1m read

I studied about developer services offered by main manufactures, and InterSystems is the leader, see:

Better Developer support/services
Feature InterSystems Microsoft Oracle IBM Redhat
Development Community Web Portal 1 1 1 1 1
Discord or twitch developer channel 1 1 0 0 0
Linkedin, Twitter, Facebook developer channel 1 1 1 1 1
YouTube and Podcast Channel 1 1 1 1 1
Certification program 1 1 1 1 1
Developer Open IDE Tools 1 1 1 0 1
Newsletter 1 1 1 1 1
Free e-learning courses 1 0 0 0 0
Online product documentation 1 1 1 1 1
Free product community edition 1 1 1 0 1
Free product instance in the public cloud 1 1 1 1 0
Free Hands-on e-books 0 0 0 1 1
Developer Community Open source solutions portal 1 1 0 0 0
Gamified developer community portal 1 0 0 0 0
Frequent hackthon competitions 1 0 0 1 0
Redeem prizes from developer participation efforts 1 0 0 0 0
Global Developer event 1 1 1 1 1
Public recognition by developer level 1 0 1 0 0
Meetup groups 1 1 1 1 1
Open source initiatives 1 1 1 1 1
Total: 19 14 13 12 12
2
1 268
Question Kevin Furze · Jul 31, 2020

cache 2017.2 windows 10

Is there any way to change the sql Shell interface to output a <TAB> between the fields instead of outputting one or more spaces between columns

I needed to run an sql ( that took a while to run) and then  cut and paste the generated output into excel, trouble was the paste into excel was not very good for columns when there's spaces used between the columns

kev

3
0 333
Announcement Kristina Lauer · Jul 30, 2020

Time to Get Started: Implementation Partners in Health Learning Path


Skill up and get certified with building components, productions, and applications using InterSystems products and technologies with this new learning path from Learning Services. Implementation partners in healthcare (and others!) can take advantage of the wealth of resources and materials in this comprehensive learning path that includes online courses, exercises, videos, resource guides, classroom courses, and even certification exams.
 

0
1 250
Article Silas Keeter · Jul 30, 2020 3m read

Setting up Management Portal Help Pages for Full WebServers

On each page of the System Management Portal, there is a “Help” button.  This takes users to an article in documentation that describes the page functionality and use. 

Caché provides local documentation for all of these articles. 

InterSystems IRIS does not provide local documentation.  Instead, the Help button will redirect users to the articles in the online documentation at docs.intersystems.com.

0
0 663
Question Coty Embry · Jul 15, 2020

Im exporting our xml project from a QA server that has NOT upgraded to a production server that has been upgraded to HealthShare.

We are importing the exported xml over to this production server that is on HealthShare.

Now I havent been able to find the document link today, but I remember reading HealthShare puts all of the imports under a csp/healthshare/ directory.

We are able to view our .csp pages after importing them as xml into Studio on the production server running on HealthShare

The issue is the imported file gets imported on the server's filesystem MORE THAN ONCE at:

...CSP/Heal

2
0 256
Question Tey Kitthajaroenchai · Jun 28, 2020

My custom Business Operation typically creates a Ens.StringResponse with StringValue which is sent back to my custom Business Service.  Is there a way I can use the assign, or some way, in Rule Editor in a Business Process (EnsLib.MsgRouter.RoutingEngine) so that it can send back a Ens.StringResponse with a StringValue to the Business Service when not routing the message to any operation?

1
0 323
Question Warren Grob · Jul 29, 2020

I am having difficulties with using the ..Strip() function in my DTL to strip the slash ( / ) from the phone number portion of an x12 834.  There are very few records that have the slash in the phone number, so I am trying to filter out any characters other than numbers so that all phone numbers are formatted 1112223333.

Here is the code portion of the strip:

       Set           HomePhone             ..Strip(source.{loop2000(k1).loop2100A.PER:CommunicationNumber},"*AW","-()/").

I am then checking the length of HomePhone.

     1.  If it is less than 10 characters (not a full phone number),

4
0 485
Discussion Derek Robinson · Jul 29, 2020

Hi Community! Many of you have seen the Data Points podcast episodes that we have been releasing since February. I mentioned previously that I planned to pose an open question to the community about topics you might like to hear in a podcast episode. Let us know in the comments if there are any conversation points you would find particularly interesting, and we can try to include some conversations with experts on said topics!

And in case you missed it, check out Episode 12 about the all-new chat bot on InterSystems websites!

0
0 204
Question David Underhill · Jul 28, 2020

We use the %Net.FtpSession class to perform FTPS file transfers.  This has worked fine with Implcit FTPS servers but crashes when trying to connect to an Explicit FTPS server.  Explicit FTPS has a slightly diffferent negotiation in the intitial connection and different ports.

Has anyone gotten Explicit FTPS working with the Cache classes?

2
0 609
Question Ken Earl · Jul 25, 2020

I have been looking into using abstract classes and methods. In other languages, if a superclass is defined as abstract, subclasses inheriting from the superclass will not compile until all abstract methods have been implemented in the subclass.
I have created the following classes to try this in Cache:
Class User.Music.AbstractClass [ Abstract ]
{

             Method testabs(inp As %String) [ Abstract ]{}

}

Class User.Music.AbstractTest Extends (User.Music.AbstractClass, %Persistent)

{    

           Method testabs(inp1 As %Integer!!,"Input:",$g(inp,"undefined"}

}

When I compile

8
0 1562
Question Ewan Whyte · Feb 21, 2018

I'm trying to get a count of specific message type with a specific entry and thought I could build the query in Message Viewer but  this does not provide counts (as far as I am aware). So when I take the SQL from 'Show Query' it omits the segment criteria as the code shows below. 

 I have attached the criteria that has been excluded. Is this possible?

Thank you

SELECT head.ID AS ID, 
       {fn RIGHT(%EXTERNAL(head.TimeCreated),12)} AS TimeCreated,
       head.SessionId AS SESSION,
       head.Status AS Status,
       COUNT (*) AS messages,
       CASE head.IsError
           WHEN 1

2
0 1640
Question Elize VdRiet · Jul 27, 2020

My VS Code plugin "InterSystems Objectscript" upgraded to version 0.8.7 but the server settings no longer visible in extension settings and can no longer connect to our InterSystems server.

What has chnaged and how do we set the server connectio up? I checked the JSON file and it still has the settings as it was before but it is not connecting.

Screenshot of the settings json and then on the left a timer icon on the InterSystems icon and blue line running from left to right at top as it tries to conenct to server. I downgraded to version 0.8.6 setup settings again as before and it connect

2
0 417
Announcement Anastasia Dyubaylo · Jul 20, 2020

Hi Community!

We're pleased to invite you to the Online Meetup with the Winners of the InterSystems IRIS AI Programming Contest!

Date & Time: Friday, July 24, 2020 – 11:00 EDT

What awaits you at this virtual Meetup? 

  • Our winners' bios.
  • Short demos on their applications.
  • A short interview with all the winners about the past contest. Plans for the next contests.

 

2
0 488