Will any of this week's Global Summit be live-streamed for the benefit of those of us unable to attend?
if so, what's the link?
Will any of this week's Global Summit be live-streamed for the benefit of those of us unable to attend?
if so, what's the link?
Hi world, i work actually on an intersystems project , my question is :
i've my Rest class that receive an HTTP request from a client side , i want to know how extract data from this http request , for example : date , id_client and measures taken by the client ( i need to extract a weight value catched from a connected scale to my smart phone via bluetooth ) .
Thank you
Hi,
I would like to draw your attention on a recently published article, titled "A Quick Guide on How to Prevail in the Graph Database Arena", that has been posted also at LinkedIn Intersystems Caché has been referenced several times.
Sign up for a 45-minute one-on-one training session with one of our talented technical personal trainers. All sessions take place during the Global Summit beginning Monday afternoon and ending mid-day on Wednesday. Sessions will be held in the Learning Services area located in the Tech Exchange.
Hi,
I am experimenting with Cache-Python binding. In the following piece of Python code
import intersys.pythonbind3
conn = intersys.pythonbind3.connection( )
conn.connect_now('localhost[1972]:SAMPLES', '_SYSTEM', '123', None)
samplesDB = intersys.pythonbind3.database(conn)
p10 = samplesDB.openid("Sample.Person",'10',-1,-1)
p10.run_obj_method("PrintPerson",[])
I am opening the 10th record of Sample.Person class and then I am calling an object method (PrintPerson).
Method PrintPerson()
{
Write !, "Name: ", .
a.k.a.. "The World of Widgets Returns!" or "Paternity leave damages Instructional Series momentum"
In our last lesson, we combined 2 separate classes to appear as the same property. We now have the ability to Update our Widget catalog, but what if we want to Create a Widget? Thankfully, we've already done 90% of what we need, just by implementing Edits
As we mentioned when creating the REST Services for PUT and POST, the only real difference between creating and updating a record is whether we are passing in an existing ID or creating a %New
My scenario is:
I have a Cache method that
call a REST -> JSON -response > INSERT/UPDATE the source table of a DeepSee Cube -> Update the Cube only for this change -
I want to view in .NET Application the changes. For that I want that this method should be executed at a defined interval.
Or maybe the solution is a Refresh button in .NET page. is there any way to access a Cache method from .NET?
Any idea how to do it?
I have a <tablePane> element with OnCreateResultSet and OnExecuteResultSet methods; autoExecute is "false" but the OnCreateResultSet and OnExecuteResultSet methods are nevertheless called on page load.
I want the user to be able to press a button to submit the parameters, then have this button call tablePane.executeQuery() to execute the query.
autoExecute is simply igonored. We're on 2014.1.3 with plans to upgrade to 2016 soon.
Are there more settings I need to set? Or is this attribute simply ignored?
Caché Version String: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2016.2.1
We have a mirrored Ensemble system (110, backup and 210, primary). At one time (14:00) there is a disruption in the production. The messages are not being processed.
Looking at the pButtons (every 10 seconds) I see the following abnormal at the WDphase

and the backup

The different values of WDphase are:
0: Idle (WD is not running)
5: WD is updating the Write Image Journal (WIJ) file.
7: WD is committing WIJ and Journal.
8: Databases are being updated.
Twilio is a great tool for programmatically initiating and managing phone calls. In this example we'll go over basic account setup, create a Cache Class to manage our interaction with the Twilio API, and initiate a phone call from the Cache Terminal.
The full Class used in this example is available on GitHub as well.
Before we begin, I'd like to mention that I am by no means an Ensemble expert, so take this with a grain of salt and please feel free to offer any suggestions for improvement. That being said, I have enjoyed working with Ensemble and wanted to share the approach I took to poll an external REST API for patient data in the hopes that it might help others with a similar goal.
If you get bored easily and just want to see some code, feel free to jump straight to the example on github. It uses dummy data (for obvious reasons) but the core principles should be the same.
This 'feature' have been around for a long time, but I don't see any articles on it so I thought I would make everyone aware.
A method is provided to customize the appearance of the Cache cube icon in the system tray so different instances can be visually distinguished. When csystray.exe, the Cache/Ensemble cube program, starts, it will look for files named "up.ico" and "down.ico" in the \bin directory below the instance installation directory. If these .ico files are present, csystray.exe will load the icons and display them in place of the default blue and gray Cache/Ensemble cube icons.
Hi,
I'm developing an integration between Caché servers by ODBC conection, and I have the following problem.
In this call:
call COSClass_Methode('222169^^98^155^64530^06:30^021542987897458855441112877855^1^0^281992^GC')
the ODBC driver is truncating the string to 50 characters.
If I run this same command with $system.SQL.Shell(), this doesn't occur.
I did a test creating several parameters for COSClass_Methode, and they all have a 50 character limitation.
Does anyone know why the ODBC Cache Driver limits the number of characters per parameter of this type of call?
Or, how can I adjust this?
hi world, how can i have access to the BPL set rules in programming ?
for information: all logical rules are stored in routine data base, but i don't know how to have access to its corresponding name space.
thank you for helping
XDATA is used for a whole host of ISC libraries to store things like Zen pages, BPL logic and DTL transformations.
XDATA is the equivalent of XML config files of the JAVA world and JSON config files of the JavaScript / NPM world.
Whilst Atelier looks to shift source code to the disk, XDATA will remain a key component to source control our projects config / meta data.
I come across many developers who overlook XDATA, seeing it as an internal function of Cache and Ensemble and instead use globals to move meta data around, I've been there myself.
Hi, Community!
This week we have two videos.
Please find the second Developer Community Video of the week on InterSystems Developers YouTube Channel:
Turning Accountants into Explorers
How do we need to set a flag with quit command and what is it share some example?
Is it possible to execute a sql update statement from objectscript? This code isn't working for me.
Set tSQL = "UPDATE table Set Status = 'Completed' WHERE ID in (1,2,3,4)"
Set tStatement = ##class(%SQL.Statement).%New()
Set tSC = tStatement.%Prepare(tSQL)
If I write my dynamic sql to the event log, copy and execute it in the Management Portal, it works fine.
What are the pros and cons of developing a custom database driven routing engine vs. using the Ensemble standard routing engine. What I'm trying to accomplish with the custom routing engine is less manual intervention every time a new route is added. The con I can see with the custom engine is performance may lag behind the standard engine. My development vs. Intersystems essentially.
I appreciate feedback. Thanks!
Hi,
I've been trying to create a patient using FHIR, but all I seem to get back is:
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"FHIR create interaction invalid for this end point"},"diagnostics":"FHIR create interaction invalid for this end point"}]}
I've tried a variety of requests and read operations work, but create doesn't seem to. Has anyone run into this? Any ideas? Thanks.
These Globals are usually cleared out as part of the startup/shutdown processes. If your server never reboots how would you clean these out?
Hi, Community!
If you do not know much about DeepSee technology, this video on is exactly for you:
Why we using double dot in cache?what is the use of it?
I wanted to share a little tidbit which is in the Studio documentation (http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls…) but many people who have been using the InterSystems Studio for a long time missed the addition of this *very* useful feature, and every time I mention this to an audience I see at least one face light up because of how excited they are to learn about it!
Within Studio, the Output pane (View -> Output) is actually misnamed. It is actually an Input/Output window which can be used to run Caché ObjectScript commands!
Does anyone send alerts via API / Web Services to an application such at Tivoli or CA Spectrum? If so, can you share what commands you send? e.g. If connection is down or queue depth > 200. Thanks.
Hi guys,
How do you deal with underscore characters when using jsonProvider and exporting or importing ?
for example:
USER>s jsonString="{""what"":""1"",""up"":""2"",""test_test"":""3""}"
USER>set status = ##class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject(jsonString,,.outputObj)
USER>w outputObj.what
1
USER>w outputObj.up
2
USER>w outputObj.test_test
W outputObj.test_test
^
<UNDEFINED> *testwe found out that we can access it like this, but not sure if it's the recommended method-
w outputObj.%data("test_test")Regards,
Nael
version 2016.2.1 on windows
I accidently clicked the mouse into the output window of studio (where you get the compile results etc) and typed soemthing in there (by mistake) and it came back with <SYNTAX>.
I've been playing with it further, and it's like a cut down version of terminal.
I can "s x=1" and the "w x" and sure enough, it will display "1" (ie the value of x)
when I call one of my utilities ie "d ^dev", my utility runs as expected, but when I try entering a value (my utility was waiting on a read *x) it generated a <SYNTAX> error.
In my previous posting about the new support in QEWD for JSON Web Token (JWT) support, I mentioned that it was a key step in enabling Micro-Service support in QEWD. In this post I'll give some background to how they work and the thinking behind them.
If you haven't heard about Micro-Services and/or want to learn more, there's lots of information available if you do a Google Search. Here's a good starting point:
Hello, I just noticed that the following query is not allowing when using cached queries.
The compiler will accuse the code about missing a closing quote.
Just so you know, if I use this query dynamically it works, so I guess it's related to the code linting.
Query T() As %SQLQuery [ SqlProc ]{SELECT TOP 3 JSON_OBJECT('lit':'Employee from','t':%TABLENAME,'name':Name,'num':SSN) FROM Sample.Employee}The bold part is what is causing the error.
Version 2017.
Hi, folks!
What could be the best backup/restore strategy for a small (less than 100MB) but very valuable database which is placed on AWS/DO virtual host?
1. Use AWS/DO backup/restore features?
2. External backup (as the most recommended)?
3. InterSystems backup?
4. Globals export to a zipped file?
5. cache.dat copy?
Looking for the most robust and easy to use/implement method of backup and restore in a way "setup and forget" (until it becomes needed :)