InterSystems Global Summit 2019
Has anyone worked with OPC Unified Architecture protocol (iot/machine to machine communication protocol for industrial automation)?
If so, how did you communicate with it?
Hi all,
I am trying to delete an item from a production through a routine that installs and disables items.
To add any item, I have no problems, even to enable and disable some particular items.
The problem arises when I try to eliminate the production item, because when it does, the production become unstable and only works again when this item is added again in the collection (or the item is deleted manually in the production.cls)
This is my code attempt:
set productionName = "MyApp.production" set itemDelete="MyApp.BP.item" if ##class(Ens.Config.Item).
Hello,
My company is looking evaluate upgrading to HS 2019 and I am not sure where to obtain a copy of this installer. Any help on this and a evaluation liscense would be appreciated.
In the previous parts (1, 2) we talked about globals as trees. In this article, we will look at them as sparse arrays.
A sparse array - is a type of array where most values assume an identical value.
In practice, you will often see sparse arrays so huge that there is no point in occupying memory with identical elements. Therefore, it makes sense to organize sparse arrays in such a way that memory is not wasted on storing duplicate values.
In some programming languages, sparse arrays are part of the language - for example, in J, MATLAB. In other languages, there are special libraries that let you use them. For C++, those would be Eigen and the like.
Globals are good candidates for implementing sparse arrays for the following reasons:
Hello,
currently we have a problem in development with the character set of the response message.
We are transmitting an HL7 message with an operation based on the EnsLib.HL7.Operation.HTTPOperation class.
We have changed this as follows.
Set pMsgIn=$$$NULLOREF, tHttpRequest=##class(%Net.HttpRequest).%New(), tHttpRequest.WriteRawMode=1, tHttpRequest.ContentType="APPLICATION/HL7-V2; charset=UTF-8"
Unfortunately, the ContentType character set is not read correctly in the response.
This is the response:
0000 00 15 5d 4b c0 00 00 1a e2 4a 45 00 08 00 45 02 .]K.
Hi everybody
I'm new in this forum and also new working with a Caché-Database.
Problem:
I have to delete records from a table (by SQL) which contains a field declared as:
Property Image As %Stream.FileBinary;
When I try to delete a record with an image I get an error
[%msg: <FEHLER #5019: Kann Datei 'H:\BK Solution\DSTBern\eXpert\Data\Expert\stream\YJC7o7ngR9WUeA.stream' nicht löschen>]
[SQLCODE: <-412>:<Allgemeiner Stream-Fehler >]
because the physical file doesn't exist (for any reason) but the database want's to delete this file.
Hi,
The app of the week is the 'ObjectScript Visual Editor'.
It looks interesting but the GitHub ownload link[1] given on the InterSystems ObjectScript Visual Editor Open Exchange page[2] fails.
[1] https://github.com/intersystems-ru/objectscript-visual-editor/releases
[2] https://openexchange.intersystems.com/package/ObjectScript-Visual-Editor
Does anyone know the github url for download?
.png)
Hi Community!
Please welcome a new video on InterSystems Developers YouTube Channel:
InterSystems IRIS from Spark to Finish
Hi Everyone,
We have previously implemented CI/CD for Ensemble using GitLab hooks where we had One Production file - MyProduction.xml in all branches (Dev, Test, Prod) but developers merged Items that they built (new Business Services , Processes etc) into the Production class from another branch (for ex - Dev branch to Test Branch production class) and commit taking the changes to the higher branches. I have also seen customers having Three production classes in the names of the Servers eg - Dev.xml, Test.xml , Live.xml under production folder in Studio.
Hi everyone,
Im new in cache, i came from Java and im missing some features that i couldn't find in the documentation, I hope you can help me with this questions.
Just a brief introducction:
- Im in a project with old cache version, so saddly i can't use Eclipse + Atelier, so im using Studio.
- Currently im in a project with persistent classes, we want to turn apart the globals and focus on tables.
The questions:
Is there any way to make something like hibernate for cache %Persistent classes?
Hi,
recentley we started to work with Atelier & VSTS in our organization .
we are looking for a way to use the VSTS as Our Version/Source control system .
I have read the article about "Continuous Delivery of your InterSystems solution using GitLab" & now trying to find a way to use a similar metodology with the VSTS that we have in our organization.
It Apeares that it is possible to Create a Git Repository in the VSTS but i'm not sure how are we to use it from the atelier.
The main questions are:
- What Is the best practice in saving cache code in VSTS GIT?(cls files?, legacy XML?
In our table, we have a column cities, which has a filter which displays the cities of a state depending on the state
For simplicity let's assume we have a page
Property State As %String = "CA"
Our filter should run this query to show all cities of state ca
"SELECT Name FROM City WHERE State= "_%page.State
<tablePane>
<column colName="City"
filterQuery="SELECT Name FROM City WHERE State= <This is where I am stuck>"
filterType="query"
header="City"
width="10%">
</column>
I am not able to pass any parameter to filterQuery.
I have a class defined like this:
Class test.ABC Extends %RegisteredObject {
Property myProp As %Binary [ Internal, Private ];
}Is there a way to get a value of myProp from outside of the object?
I can't modify or extend the class obviously.
Hi,
Most of my development experience is with HL7v2 interfaces and I don't have a background in web development and I'm very weak with javascript.
I'm looking for suggestions of learning resources to learn FHIR and 'SMART on FHIR' (JavaScript, OpenID connect, OAuth2) for developers like myself who mostly do HL7v2 integrations - but see FHIR as the future - and want to develop their skills!
I've found these
Hi All,
I have two tables LB_TestSet and LB_Transfer
LB_Transfer has a list if TestSet row IDs, so i am doing the following join
SELECT
LBTS_RowID,
,LBTS_CollectedDate
FROM SQLUser.LB_TestSet
JOIN SQLUser.LB_Transfer ON ($LISTBUILD(LBTS_RowID) %INLIST LBTR_TestSetList)
WHERE LBTS_CollectedDate BETWEEN '2019-01-01' AND '2019-05-10'
Without the date filter the query returns data, but if i add the date filter no data is returned
I also tried using %INTERNAL, %EXTERNAL TO_DATE('2009-01-01','YYYY-MM-DD')
if i filter by RowID for example the filters work.
Hi Community!
How do you create SSL Configuration for InterSystems IRIS programmatically? E.g. for installation or deployment case?
E.g. if I need to create a very simple "default" SSL client configuration to let HTPPS Get requests to an arbitrary server?
Hi
I wish to use outlook.office365.com to send emails from an Ensemble production and require assistance on how to configure SSL for the connection
Nigel Salm
Need a sample of using %Net.HttpRequest and %NetHttpResponse from Cache to retrieve and then use/reuse a bearer token to send json data to a REST web service.
We have a business service that extends Ens.BusinessService and uses EnsLib.File.InboundAdapter.
This service polls for json files in a folder.
Method signature is like this:
Method OnProcessInput(pInput As %FileCharacterStream, pOutput As %RegisteredObject) As %Status
And inside that method it tries to read the content like this:
set tData = pInput.ReadLine(,.tStatus, .tEOL)
if ($$$ISERR(tStatus)) quit
set tJSON = {}.%FromJSON(tData)
I added some trace calls before and after lines and noticed it's always that last line that fails if content is larger than 32kb.
Any workaround for this?
Hi,
I have a permanent job opportunity which would suit anyone (including sponsorship, my license is incoming) who want's to experience the UK (initially London), the requirements are fluent in Cache Objects, SQL, XML, Integration, English Language and be self motivated with a desire to experience London.
Hello,
Need some technique to solve an issue about zen page table.
- "xyz" table exists in all my namespaces.
I have a simple Zen page in "USER 1" namespace. It has a tablepane which pulls data from "xyz" table.
OnLoad of the page i want the zenpage to pull the data from "USER 2" namespace with same "xyz" table name.
Zenpage has to be in "USER 1" namespace
I tried to use the server side callback handler %OnAfterCreatePage() and do a ZNSPACE "USER 2" but still it is not doing the job of pulling data from another namespace.
Any suggestions will be appreciated.
Thanks,
Jimmy Christian.
Hi All,
Just wondering if anyone had got this working.
In the documentation it says to set the username and password properties of the connection object but these properties don't exist and without authentication I can't connect to the MQ queue.
Any help would be greatly appreciated,
Dave Moss
Hi all. Today we are going to upload a ML model into IRIS Manager and test it.
Note: I have done the following on Ubuntu 18.04, Apache Zeppelin 0.8.0, Python 3.6.5.
Introduction
These days many available different tools for Data Mining enable you to develop predictive models and analyze the data you have with unprecedented ease. InterSystems IRIS Data Platform provide a stable foundation for your big data and fast data applications, providing interoperability with modern DataMining tools.
In this series of articles we explore Data mining capabilities available with InterSystems IRIS.
The last time that I created a playground for experimenting with machine learning using Apache Spark and an InterSystems data platform, see Machine Learning with Spark and Caché, I installed and configured everything directly on my laptop: Caché, Python, Apache Spark, Java, some Hadoop libraries, to name a few. It required some effort, but eventually it worked. Paradise. But, I worried. Would I ever be able to reproduce all those steps? Maybe. Would it be possible for a random Windows or Java update to wreck the whole thing in an instant? Almost certainly.
here is my trigger:
CREATE TRIGGER "SQLUser".SYM_ON_U_FOR_SYM_CHNNL_125123 AFTER UPDATE ON "SQLUser"."sym_channel" REFERENCING OLD ROW AS OLD NEW ROW AS NEW FOR EACH ROW DECLARE @var_row_data VARCHAR(16336); WHEN ( 1 = 1 and 1 = 1 ) -- I will use OLD/NEW alias here set @var_row_data = ''; LANGUAGE sql insert into mytable (id, data) values(1, @var_row_data);
here is error message:
ERROR: [SQLCODE: <-400>:<FATAL ERROR >] [Location:
I want to have a generic PercentOfAll measure that can be used for any dimension of the cube. This PercentOfAll should act like Count, but instead of showing the number of rows in a cell, it will show the percentage (100*number of rows for that member/all rows) .It should not matter what dimension is being viewed. Ex
There are a total of 100 rows in the source class.
For dimension columnA which returns value in ColumnA column in source class, 10 rows contain "A" the rest contain "null".
I am building a cube based on a source class, which I will call, Family.Dad
In the class definition for Family.Dad, there is a relationship, offspring As Child [ Cardinality = children, Inverse = father]
In the class definition for Child, there is a relationship called father As Dad [ Cardinality = parent, Inverse = offspring]
In the actual data, a dad can have many children, but a child can only have 1 dad.
Using DeepSee, I am trying to analyze to answer questions such as how many dads have children called Joseph ( Ex dad.offspring.GetAt(x).Name) etc .
Is there a way to have a context property be available across 2 or 3 different business processes? For example if I am setting a value in a context property within one business process and want to use the same context property in a second business process, is this possible? Is this something that can be done with the "Context Superclass"?
Hey Community!
The latest webinar, recorded by InterSystems Sales Engineers @Sergey Lukyanchikov and @Eduard Lebedyuk, is already on InterSystems Developers YouTube! Please welcome:
"Machine Learning Toolkit (Python, ObjectScript, Interoperability, Analytics) for InterSystems IRIS"

