Question Surya Prakash · Jun 15, 2021

 My requirement is to get the website visitors IP address and location. I tried an external API . Always it's returning server IP and location not visitors IP.  

set req=##class(%Net.HttpRequest).%New()
  set req.Server="api.ipstack.com"
  set req.ContentType="application/json"                                           
  set sc=req.Get("/check?access_key= key here")
  set data=req.HttpResponse.Data
  
 Write data.Read(30000)

Can someone help me to resolve this issue? or any in-build method is there in Iris to get the IP.

Have to create a production operation and service for this?

3
0 475
Announcement Kristina Lauer · Jun 16, 2021

InterSystems HealthShare® Personal Community Fundamentals: Start Learning!   


Learn the key features of Personal Community, an application that enables patients to get more involved in their own healthcare. This new course from Online Learning (1h 30m) includes a comprehensive set of presentations from Meredith Staszak, Product Manager of Personal Community.

Take a tour of the patient-facing portal, learn about key functionalities, and see how to manage it using the Personal Community Workbench.

Target audience: HealthShare customers only, including system administrators, implementation specialists, and administrative users of Personal Community.

0
0 210
Announcement Derek Robinson · Jun 16, 2021

If you're looking for an introduction to Kubernetes as a technology, and a little teaser about the InterSystems Kubernetes Operator, check out the recently released Kubernetes Overview video. This video will introduce you to the functionality and use cases of Kubernetes, and explain a bit about how the InterSystems Kubernetes Operator makes it beneficial to use Kubernetes with InterSystems IRIS.

0
0 225
Announcement Kristina Lauer · Jun 16, 2021

What is the InterSystems IRIS® FHIR® Accelerator? 


Try the new InterSystems IRIS® FHIR® Accelerator Learning Path from Online Learning.

Learn the basics of this fully managed service, which allows for the storage and sharing of healthcare data via a secure and scalable FHIR® repository. Get an overview of the FHIR Accelerator Service—and see how to deploy it—by following this curated collection of multimedia resources.

Target audience: Software developers and other technical audiences.
 

0
0 122
Announcement Anastasia Dyubaylo · Jun 16, 2021

Hey Community,

Join the next InterSystems webinar "Implementing Your Data Fabric with InterSystems IRIS" on June 22 at 11:00 AM EDT to learn:

  • How you can access, transform, and harmonize data from multiple sources, on demand, and make it usable and actionable for a wide variety of business applications at the convergence of transactions and analytics.
  • Why leading analysts are predicting that data fabrics are the future of data management, and how a modern data platform can speed and simplify these kinds of initiatives.
  • How the features and benefits in the new release of InterSystems IRIS® data platform and InterSystems IRIS for Health™ 2021.1 can help your organization.

0
0 231
Question Evgenii Ermolaev · Jun 14, 2021

I am getting the following error when trying to fect data from DeepSee:

"Error":"ERROR #5002: Cache error: <PROTECT>%Construct+3^%DeepSee.ResultSet.1 ^DeepSee.Cache.LocalResults(\"session\"),e:\\hs-db\\tfoms\\"

However, I cannot find the place this error points me to.

Specifically, it says 'Label %Construct + 3 lines, in the %DeepSee.ResultSet.1', but there does not seem to be such a place. I could only find the %DeepSee.ResultSet class and it does not have a lable named %Construct.

4
0 471
Announcement Larry Finlayson · Jun 15, 2021

Hello!

The schedule into October 2021 for live virtual classroom training with hands-on exercises is available at classroom.intersystems.com.

In particular, we'd like to highlight a few courses currently only available once through October:

 Click here to register for a course!

 As always, we also provide the option to schedule a class specific to your company. Simply f

0
0 223
Article Robert Cemper · Jun 12, 2021 2m read

For several weeks I'm creating reviews on OEX.
So I'd like to explain to you the criteria that I apply to find my ratings.
Of course, each reviewer is an independent person and has his own criteria and his own opinion.
And that's good and important! As Winston Churchill once said:

"If 2 people always have the same opinion, then 1 of them is superfluous"

6
0 424
Question Utsavi Gajjar · Jun 10, 2021

Hello,

I am writing a POST API using IRIS. My POST API Endpoint invokes a Business Service -> Business Process -> Business Operation in an IRIS production .

I am trying to import the JSON payload into a JSON enabled class and work with the JSON class in my Business Process and invoke different Business operation(s) based on the data supplied. This works fine for simpler JSON schemas.

The POST API I am writing now needs to handle a complex schema. I.e. one of the Item on my JSON schema ("recipient") can be an array of "anyof" 5 different schemas.

e.g.

Here, recipient can be an array of a

10
0 1015
Question Roger Taylor · Jun 8, 2021

Reference: sample LDAP code routine LDAP.mac

Some IF statements reference macro $$$WindowsCacheClient as a boolean flag to mark if the client calling the LDAP server is running Windows. Other IF statements reference $$$ISWINDOWS. Are they not the same thing? That is, does the routine need $$$WindowsCacheClient at all?

Examples:

#define WindowsCacheClient 1

 if $$$WindowsCacheClient,$$$WindowsLDAPServer {
Status=##Class(%SYS.LDAP).Binds(LD,"",$lb(Username,Domain,Password),$$$LDAPAUTHNEGOTIATE)
Status'=$$$LDAPSUCCESS {
Status=Status_",ldap_Binds(AdminDN) - "_##Class(%SYS.LDAP).Err2Strin



2
0 270
Announcement Laurel James (GJS) · Jun 15, 2021

gj :: locate was the entry from George James Software for the Developer Tools competition back in April 2021. When an ObjectScript error is reported, gj :: locate takes the .int line location and navigates you directly to the line in the source file where the error originated. Over the past few months we've found it a very useful tool when it comes to debugging, especially when used alongside the Serenji debugger in Visual Studio Code.

Our first update, version 1.1.0, now includes support for multi-root workspaces. This enables gj :: locate to be used with every workspace folder. If your VS Code workspace has more than one root level folder, connecting to different namespaces or perhaps different servers, then gj :: locate will determine which workspace folder is current and locate the source code in that folder. If your workspace doesn't have any files open then gj :: locate will prompt you to select a folder from a pick-list.

This will particularly benefit VS Code power users who have workspaces with simultaneous connections to multiple namespaces, on multiple different IRIS and Caché servers.

If you would like to try it out then you can download it from the VS Code marketplace. Or if you’re already a user, then gj :: locate will automatically update. Let us know how you're getting on with it!

0
1 227
Article Erik Hemdal · Oct 31, 2016 8m read

Here are a few examples of conversions and operations you might need, along with links to documentation where you can learn more.

At the time I wrote this, Eastern Daylight Time was in effect for my Caché system.

How Caché keeps the time and date

Caché has a simple time format, with a longer range of recognized dates compared to some other technologies.

The current time is maintained in a special variable $HOROLOG ($H):

USER>WRITE $H64146,54027USER>

The first integer is the count of days since December 31, 1840. The second integer is the count of seconds since midnight of the current d

4
1 15052
Question Avi Solomon · Jun 14, 2021

I am looking for someone who can install for me iris community edition with web server and also CSP gateway in Ubuntu environment with everything in docker in aws linux environment

tahnks for answering

3
0 249
Announcement Peter Steiwer · Jun 14, 2021

The release of InterSystems IRIS 2021.1 introduces Adaptive Analytics. To get started with a familiar InterSystems IRIS BI sample cube, we have created a HoleFoods Sample Application for Adaptive Analytics. This Sample Application is available on Open Exchange. There is also a learning services course available to learn more about Adaptive Analytics.

0
0 297
Question Pravin Barton · Jun 14, 2021

I'm working with a REST API that will sometimes rate limit our requests by returning an HTTP 429 Too Many Requests status code. Is there a good way in a business operation to handle this by throttling our requests until we get a success response? My initial thoughts are:

  • Reduce the pool size on the business operation to 1 so all requests are first in, first out.
  • If the API returns a 429 response, set %rate = $get(%rate,1)*2, then hang %rate, then send the request to the back of the queue.
  • If the API returns a success response, kill %rate

I'm wondering if there's a better way to do this. Part

1
0 406
Announcement Bob Kuszewski · Jun 14, 2021

We’re looking for Python developers to participate in our Embedded Python Early Access Program!  If you (or someone you know) are a Python developer and are interested, please contact us via the email address below.

InterSystems is bringing the power and simplicity of Python to IRIS.  We’re hard at work integrating Python directly into the IRIS kernel, making it a full peer to ObjectScript.

  • Use any of thousands of pre-built Python libraries
  • Easy access to IRIS from Python, and Python from ObjectScript
  • Mixed ObjectScript and Python classes

The Early Access Program is a way for you to h

0
0 556
Question Steve DiQuattro · Jun 9, 2021

I have created a custom role in IRIS for users to provide limited view-only access for querying tables in the HSANALYTICS namespace. WinSQL has been installed on a Windows server (WinSQL Lite version 14.0.244.784) and an ODBC connection entry has been created in WinSQL for the users to log in and run SQL queries. The custom role provides the roles/resources included in the attached file. The WinSQL System DSN entry defined is:

Health Insight UAT HSANALYTICS    64-bit    InterSystems ODBC35

The ODBC35 driver is defined as:

InterSystems ODBC35    2018.01.00.184    CACHEODBC3564.DLL    9/19/20

7
0 749
Question Augusto Estefan · Jun 9, 2021

Hi,

I have a DR member and in this cache server the database "cachetemp" start to getting bigger without any reason (50GB that was all the free disk space we have)

In the members of the mirrors the cachetemp its ok and the size is 31MB.

I restarted the server because I read that the cachetemp database purge when restarting, but didnt happend.

Any recommendation to clean this database? can I just deleate the CACHE.DAT from this database?

Thanks!!!

4
0 1104
Job Helberth Soares · Jun 12, 2021

Hi everyone, 

I am talking from Brazil and we have one very important customer that requested our support to find a consultant, deeply specialized in Cache that could work with us attending this customer. It has a tons of data and its core application is based on Cache.

If you are interested send me an email with the subject title - Cache consultant opportunity - and we will make contact with you. The main request is how strong are your skills in cache and it would be considered a differentiator if you are a portuguese speaker.

Regards - Helberth Cavalcante.

2
0 400