Is there a class Method that will return the number of OBX segments under the OBR segments? I see method ChildCountGet
and ChildCountGet is that the correct method any any examples how to use it?
Is there a class Method that will return the number of OBX segments under the OBR segments? I see method ChildCountGet
and ChildCountGet is that the correct method any any examples how to use it?
Hi,
I have a question related with
Is there a way to open an oracle transaction and do either commit or rollback depending on the query result?
Is posible to keep open an oracle transaction to execute a lot of queries on different methods on the same business operation and do a commit when the business process finished?
Thanks and Best Regards
Sergio Vidal
I wrote a ZAUTHENTICATE.mac a couple of months back, and found recently that it is creating coredumps on almost a nightly basis. I think I have figured out this problem to be not clearing out my MsgSearch after I am doing 2 of them within the code.
1. Get User Attibutes from AD
2. Get User Groups From AD
So while I am trying to cleanup the code I thought it would be a good time to add a Certificate and TLS to the mix since I should of been using that all along.
The following code allows a user to view the audit settings of their instance. Run the code by running the class method "test":
class objectscript.checkAudit Extends %RegisteredObject
{
classmethod test() {
w "Checking for Auditing.",!
Set SYSOBJ = ##class(Security.System).%OpenId("SYSTEM")
If +SYSOBJ = 0 Set SYSOBJ = ##class(Security.System).%New()
i SYSOBJ.AuditEnabled {
w "Security Auditing is enabled for the following services",!
s rs=##class(%ResultSet).%New("Security.Hi,
this is a public announcement for the first release of Intersystems Cache Object-Relational Mapper in Python 3. Project's main repository is located at Github (healiseu/IntersystemsCacheORM).
CacheORM module is an enhanced OOP porting of Intersystems Cache-Python binding. There are three classes implemented:
CacheClient This is the super class of CachePython module. It wraps two functions from intersys.pythonbind module pythonbind3.connection() and pythonbind3.database().
CacheQuery A subclass of CacheClient that wraps methods and adds extra functionality in intersys.pythonbind.databaseand intersys.pythonbind.query classes
CacheClass A subclass of CacheClient, that wraps methods and adds extra functionality in intersys.pythonbind.databaseand intersys.pythonbind.object classes
The intersys.pythonbind package is a Python C extension that provides Python application with transparent connectivity to the objects stored in the Caché database.
I'm trying to have my REST service return the entire data set for one of our legacy globals. Currently I am parsing the object from a SQL statement into generic objects to be returned like this:
Set specimenArray=[]
WHILE resultSet.%Next() {
Set specimen = {}
Set specimen.SpecimenId= resultSet.SpecimenId
Set specimen.ProjectId = resultSet.ProjectId
Set Oref = specimenArray.%Push(specimen)
}
Set tProxy = specimenArray.%ToJSON()
set %response.Status = 200
set %response.
Hi,
My testers are getting this Internal Server Error inconsistently. There is no specific steps to reproduce this error. Can you any one explain when will we get this error in DeepSee.
Thanks in advance.
How to Make a Https/SSL Request in Caché ObjectScript ? If possible please provide some working example with some https url.
I have an Enslib REST web service using an http host. How can it be converted to use https?
Hello ,
Ensemble Business Process seems like red color but it still processing message successfully. I have checked log, events, queue everything is clear. there is no log info or error in the history. If BP is in red color in the sense might have some issues, but is still processing messages successfully.
Can you guys please advice on this.
Hi,
I have a problem with CSP Application Authentication, when the user input you correct password, however the message "Invalid password" returns.
This error returns just Cache password user type, for user delegated don't.
this error is momentary also, if you wait a moment, it stops.
How to achieve load balancing for Ensemble servers? Please explain in details. Thank you very much.
Hi all. Today we are going to use k-means algorithm on the Iris Dataset.
Note: I have done the following on Ubuntu 18.04, Apache Zeppelin 0.8.0, python 3.6.5.
K-Means is one of the simplest unsupervised learning algorithms that solves the clustering problem. It groups all the objects in such a way that objects in the same group (group is a cluster) are more similar (in some sense) to each other than to those in other groups. For example, assume you have an image with a red ball on the green grass. K-Means will split all pixels into two clusters.
Hi,
I cannot edit properties (title etc) of Widgets within Dashboards outside of the ENSDEMO namespace:
I have a namespace "HL7Report" for example;
I have some Pivots created looking into a cube's data;
I click "DeepSee", "User Portal" from the Management Portal;
I click "+", "Add Dashboard", folder/name/title/category all as "new", "OK", new dashboard appears;
I click ">", "Widgets >", "+", and select a pivot to display as a table (chart / anything);
I then CANNOT edit the properties of the Widget, I click the ">" again and every Widget I create is "new (Closed)".
Hi hi,
Is there any way to do an automated daily print-to-PDF of a dashboard (its' widgets / pivots etc)?
I am able to add a "Print" Control to a Widget on a dashboard to do the default DeepSee Print functionality of a Control, but this is manual and browser dependent.
Is there a way I can either:
1) have say a scheduled task to automatically print the dashboard (as and instead of the manual Control click) including specifying filename?
Is there any COS API to create the database (with designated path) and the namespace ?
Also, the API to attach a given database to a given namespace?
Thanks.
Hi, Community!
Have a question for general discussion.
In ObjectScript we have cls for classes and mac code, which both compile into int code.
Is there any reason when you use mac instead of cls for non-persistent classes?
For me the benefits for cls are:
1. Inheritance and other OOP features
2. Auto-documented code
For mac one visible benefit is easier call in terminal:
do method^Utils(p1,p2)
vs
do ##class(Package.Utils).method(p1,p2)
What is your choice and why?
Hi Everybody!
We are pleased to invite you to the upcoming live webinar "It’s Machine Learning, Not Rocket Science!" on 19th of July at 11:00 a.m. EDT!
Hi community,
I’m working in a project for a Chile Police and I need to know if it’s possible to build a hierarchy in Deepsee like Zone- Prefecture – Comisaria – Destacamentos (there are 4 levels of police units) , but these information are only in one table that has the code, the father ,description and UnitType. (it’s recursive) . Example:
|
UNI_CODIGO |
UNI_PADRE |
UNI_DESCRIPCION |
UNI_TIPOUNIDAD |
|
1 |
20 |
OTRA REPARTICION |
|
|
10 |
2.380 |
38A. COM. PUENTE ALTO |
50 |
|
20 |
|
DIR.NAC.SEGUR.Y ORDEN PUBLICO |
10 |
|
30 |
8.855 |
TENENCIA CARRETERA ARICA |
70 |
|
40 |
8.740 |
1RA. COM. ARICA (AGR) |
40 |
|
45 |
40 |
1RA. COM. |
Hello guys,
I have been playing around with the deployment tools from Ensemble (mostly based on this article https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…;, but so far the one thing I still couldn't figure out is how to group files into a single "Studio project file".
By using the deployment tool UI, supposing that I want to add a bunch of custom files to my deployment file (XML), it's practically impossible because I need to add one by one.
Hey, the question is simple!
Is possible one classe is not generated journal?
I would like a given class not to generate this data but on a configured basis to generate, is possible?
I would linke to have the functionalities provided by the Table Field/Property Collation, but applying a transformation which differs from the provided ones.
Does anyone know if there is a way do accomplish that?
Hello guys,
Based on this article (others as well, but this is the relevant one): http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?
Hey Guys.
Is possible i know in COS the state of the one service the operation system?
One example:
What's state of service WinDefend for example, in operating system Windows.
I would like to know the status of the service.
Hello,
I have imported my data with the following code (%DocDB).
set filename = "/home/student/Dokumente/convertcsv.json"
IF $SYSTEM.DocDB.Exists("Fitabase1") {
SET db = ##class(%DocDB.Database).%GetDatabase("Fitabase1")
}
ELSE {
SET db = ##class(%DocDB.Database).%CreateDatabase("Fitabase1")
}
set arr = ##class(%DynamicAbstractObject).%FromJSON(filename)
SET jstring = arr.%ToJSON()
//SET doccount = db.%Size()
DO db.
Hi Community!
User or developer working with Caché, Ensemble or other InterSystems products? Healthcare or banking IT professional? Or just a developer seeking new challenges?
Come and join us for discussing what's up once you are in Prague, Czech Republic, or near by! We'll share news and experience on how to develop modern big-data, multi-model oriented applications.

Please, feel free to ask your questions about InterSystems Meetup group in Prague. @Daniel Kutac and @Ondřej Hoferek will provide details.
Hi All,
I have created custom TCP service and custom TCP Operation in ensemble.
The custom TCP operation sending some data to Cutom TCP service and received ACK from TCP service.
My Custom TCP Opeartion :
Method OnMessage(pRequest As CUSTOM.RECORD, Output pResponse As Ens.StringContainer) As %Status
{
Do ..Adapter.SendMessageString("Testing string",.pResponse)
Set ^RESPONSE=pResponse
Quit $$$OK
}
My Custom TCP Service :
Method OnProcessInput(pInput As Ens.StringContainer, Output pOutput As Ens.StringContainer) As %Status
{
Set ^LOG($NOW())=pInput.StringValue
set
Hi,
I have general question regarding the InterSystems Platform.
Which features does the platform have, that the other similar platforms doesn't have?
InterSystems is pleased to announce the availability of HealthShare Health Connect v15.032 on 2017.2.2
The platforms for this maintenance release are the same as for HealthShare Health Connect v15.03 on 2017.2.1.
This release is based on core technology version 2017.2.2.865.0.18321 with the following HealthShare module:
The version number of the HealthShare Health Connect kits for this release is 2017.2.2HS.9685.0
Hi Everybody!
We are pleased to invite you to the upcoming webinar "It's just machine learning, not quantum physics!" on 22th of June at 14:00 (Moscow time)!
