Deploy?
I think packed with the rest of the solution would be okay, and during installation you can automatically check GitHub for latest release and download it, if is's newer.
- Log in to post comments
Deploy?
I think packed with the rest of the solution would be okay, and during installation you can automatically check GitHub for latest release and download it, if is's newer.
Why not use SFTP for that?
The following method shows how you can get a list of the files on a server, via SFTP:
Method SFTPDir(ftpserver, username, password) As %Status
{
set ssh = ##class(%Net.SSH.Session).%New()
do ssh.Connect(ftpserver)
do ssh.AuthenticateWithUsername(username,password)
do ssh.OpenSFTP(.sftp)
do sftp.Dir(".",.files)
set i=0
while $data(files(i))
{
write $listget(files(i),1),!
set i=i+1
// set st = sftp.Get(files(i), "C:\Temp\myfile.ext")
}
quit $$$OK
}To download file(s) uncomment the line. Documentation.
You have to have HealthShare.
SELECT
NON EMPTY %KPI("PluginDemo","HighScoreCount",,"%CONTEXT")
ON 1
FROM [PATIENTS]
%FILTER ([HOMED].[H1].[ZIP].&[32006],[HOMED].[H1].[ZIP].&[32006])Or, with %OR:
SELECT
NON EMPTY %KPI("PluginDemo","HighScoreCount",,"%CONTEXT")
ON 1
FROM [PATIENTS]
%FILTER %OR({[HOMED].[H1].[ZIP].&[32006],[HOMED].[H1].[ZIP].&[32006]})What's the query?
You'll need need to provide more information about your setup.
TCIP
Do you mean TCP? If so you can open TCP listener and parse incoming data from your GPS device. Documentation.
Not the best solution, but DeepSee filters by default have a search input, you can enter part of the filter value and only filter values that have it would be shown (after pressing enter).

Yes.
2. EnsLogViewer is a project with class query, which iterates over namespaces. It is an Ensemble Log Viewer with namespace support. Works on Ensemble 2013.1 and later.
I want to log Caché terminal.
My use case: developer machine on windows.
Yes, %DeepSee.UI.Architect:GetTimeLevelClasses accepts only classes from %DeepSee.Time package.
w $System.OBJ.Export("Sample.*")You'll also need to modify
Also must this new class be in %DeepSee package or can I write new class in user-space?
I think you need a persistent email message class, which you can customize as you need.
Second option would be faster.
1. Get list of all items in production (via Ens.Director:getProductionItems)
2. Iterate over items local array and for each item:
Structure can be anything you want:
That mainly depends on what do you want to do with this information later.
You can't just concatenate to a %Status:
set ^sghp1($i(ind))=st_"**"_Hospital_"**"_OrganizationInitials_"**"_Organization_"**"_obj.SourceConfigName_"!!!"_obj.AlertText_"!!!"_obj.AlertDestination_"!!!"_obj.AlertTime_"!!!"_obj.SessionId
You need to append a %Status to another %Status:
if $$$ISERR(st) {
set msg = "**"_Hospital_"**"_OrganizationInitials_"**"_Organization_"**"_obj.SourceConfigName_"!!!"_obj.AlertText_"!!!"_obj.AlertDestination_"!!!"_obj.AlertTime_"!!!"_obj.SessionId
set infost = $$$ERROR($$$GeneralError, msg)
set st = $$$ADDSC(st, infost)
}
set ^sghp1($i(ind)) = st
In this snippet first I check if the save was successful, if it was not I build additional error message, then convert it from %String to %Status and concatenate old and new statuses into one.
Via SQL:
SELECT Settings FROM Ens_Config.Item WHERE Settings [ 'ReplyCodeActions'
You can also get it without SQL:
To get production setting use one of:
Set Value = ##class(Ens.Director).GetCurrProductionSettingValue("SettingName", .sc)
Set Value = ##class(Ens.Director).GetProductionSettingValue("Production", "SettingName", .sc)To get setting of production item use:
Set Value = ##class(Ens.Director).GetItemSettingValue("ItemName", Type, "SettingName", sc)Where Type can be Host or Adaptor.
The ItemName argument may contain the following elements:
ProductionName||ConfigName|CommentOrClassname
Notes on ItemName:
Do you want to load data from Caché into Oracle, or from Oracle into Caché?
Go to web applications and set identical "Group By ID" identifiers for web applications that serve file1.CSP and file2.CSP.
Thank you, that works!
Are there any callbacks on save methods defined?
Can you post class, instance of which you are saving?
Ceiling, floor, $NORMALIZE. Examples:
>Write $SYSTEM.SQL.CEILING(.1)
1
>Write $SYSTEM.SQL.CEILING(1.2)
2
>Write $SYSTEM.SQL.CEILING(1.7)
2
>Write $SYSTEM.SQL.FLOOR(.1)
0
>Write $SYSTEM.SQL.FLOOR(1.2)
1
>Write $SYSTEM.SQL.FLOOR(1.7)
1
>Write $NORMALIZE(.1, 0)
0
>Write $NORMALIZE(1.2, 0)
1
>Write $NORMALIZE(1.7, 0)
2Docs on Ens.BusinessOperation class, QueueCountAlert property state:
Number of messages on this item's queue needed to trigger an Alert message to be sent. Note that no further alerts will be sent unless the number of messages on the queue drops below 80% of this number and then rises again to this number. Note that this alert will be sent even if AlertOnError is False. Zero means no alerts of this type will be sent.
Try to call it like this:
do ..ReportHttpStatusCode(..#HTTP400BADREQUEST, sc)
Where sc is an optional %Status. Parameters are defined in %CSP.REST class.
Can you post code sample?
Going by the error message, have you tried providing googleapis.com certificate?