Greetings,
How can I store a global name in a variable, ie: x="^G" and then use x like this, as if it were the global: y=$o(x) ?
Please advise,
Thanks...
Greetings,
How can I store a global name in a variable, ie: x="^G" and then use x like this, as if it were the global: y=$o(x) ?
Please advise,
Thanks...
Greetings,
If given a global, how can I discover information on that global? More specifically, how can I discover how many indices it contains? ie: ^G(1,2,3,4,5) How can I discover that there are 5 subscripts within the Global ^G if I did not already know.
Please advise, and thanks in advance for everyone's time.
It is my understanding that when a routine accesses a global it is temporarily stored in global memory. While the global is within global memory, any other routine would be able to readily access the global from memory and not from disk so long as the same node is being utilized.
For example, RoutineB() would be able to access ^Global(1) and ^Global(1,2) since RoutineA() utilized them, but RoutineB() would have to read ^Global(1,7) from disk as it was not utilized by RoutineA().
Sign up by August 19 to take advantage of the Group Discount or Early Bird registration rate for the Solution Developers Conference at Global Summit 2017.
|
Group of 3 or more (available July 15, 2017 – September 10, 2017) |
$1199/person* |
|
Early Bird (available July 15, 2017 – August 19, 2017) |
$1350 |
|
Standard Registration (after August 19, 2017) |
$1599 |
*NOTE: You must request a customized group discount code for your company before registering to receive the group discount. Email Summit2017@intersystems.com for more info about the group discount.
Hello mates,
When turning on the “Archive IO” option within the business operations, it provides us the capability of seeing the input and output communication with external systems. For instance, watching the messages sent out + ACK message sent back .
Our production has got a scheduled task that runs daily (by default I guess, as many others) and is in charge of purging “Errors and log files”. And this is likely to be linked to the “Archive IO” feature, right?
Hi everyone
Is there any way to change a class definition (especifically a query definition during the compilation time)?
The idea is:
I have an abstract class with a parameter where I will define the ROWSPEC of a query and some methods to populate e temporary table
The implementation class will override the parameter, specifying the ROWSPEC of this implementation, and the methods will populate the rows in the same format as the ROWSPEC.
Hi
I have two persistent classes defined. Lets call it Parent and Child.
Child class is one of the property of Parent Class.
I would like to define a index on Child class.
So what is the default behaviour I defined a index on a non simple data type member?
Any possibility that I could customized the behaviour ? For example. Child class has three properties.
Could I configure the index to index any combinations of these three properties?
Thanks for your help.
Hello,
We need to consume files (right now using FileInboundAdapter) with a strict order.
Example:
File order will be A, B, C. Suppose A, B and C will be the names of the files.
Then B will never be consumed before A or after C.
How deal with this? Any idea?
Regards
I'm trying to recreate a smaller copy of our DEV machine on a sandbox instance. I installed a new instance, and thought it would be a good idea to copy over a few cache.dat files from the critical namespaces (but not all of them), and start from there.
However, I can't compile any UI files in my new instance because I'm getting a <PROTECT> error on the %qCacheMsg global -- for any element that displays text (i.e. the first <label> that's encountered) the generated code is trying to get text from the global ^%qCacheMsg("%Utility","en",node) = text -- from a node that doesn't exist.
Hi,
I have a UrlMap like the one below.
<Route Url="/Results/:queryID" Method="POST" Call="QueryResults"/>
What if I have to pass two parameters to QueryResults, how to do configure Url?
Something like Url="/Results/:queryID/:parameter2" ?
Thanks.
I have a query text that I need to execute and return results as xml.
It may be an SQL query or an MDX query. Is there some easy way to determine which one is it?
Any ideas?
Hi all,
We faced a problem where we would like to map a $lb object to its corresponding data model structure in order to later on export it as JSON.
So imagin that we have something like this that actually maps to a persistent table with its structure.
$lb("",,,,,"",,,"BOOLEAN","0",2,2,"1",,"bla",$lb(,,"bla","20050502123400"),"",1,"bla",,0)Is there a way to transform this $lb (without the need of openig the object itself) to a JSON object with the proper table fields as properties?
Many thanks
The Partner Pavilion @ Global Summit 2017 is filling up fast!
See the current list of partners at this years Partner Pavilion
If your company is interested in participating in the Partner Pavilion, please complete the Partner Pavilion Request form as soon as possible(there are not many spots left in the pavilion!)
I wanted to know if there was a way to dynamic set a target in the rule send command. I have a assign property that uses the lookup table that I wanted return the name of the target value and then set the target to that property . When I set the target= _@tDestination there is a parser error.
Hy.
I set up cache in container, which is working fine. But when accessing managment portal the default user was alway Unknown user and no username or password were required. So i disabled the Unknow user in the Security section, but now i keep getting an error access denid.
Hi!
I have a global-mapped class that I want to add a transient property through (or at least, not stored on the database). This property is the sum total of various charge classes that are linked to the class via child relationships.
I want this new transient property to be visible at least via SQL.
Greetings,
How do I organize a wildcard search with respect to a database search?
Example of what I am trying to do: s x=$o(^G("ABC","A*",x))
Trying to navigate through the ^G global for all occurrences of "ABC", and "A*" ("A"+wildcard) but I am new to M and don't know positively how to do this. Perhaps I don't use an "*" at all, rather; another convention altogether.
Please advise.
Thanks in advance for everyone's assistance.
Hi everyone,
I have a project which requires the sending of JSON messages to an external service provider using REST. The service provider requires the message contents to be signed.
Their instructions:
Hi, Community!
And so I continue with publishing of the tasks for the Final round of InterSystems Contest on InterSystems Caché and DeepSee as a part of IT Planet Student Championship in Sochi. This year we had about 2 000 participants in InterSystems Contest.
One of the tasks for the finals was to crack the black box and another to output 9876543210!
Here's the next task: gravity!
Hopefully a simple question.
Using the Rule Editor, I can open a routing rule and easily define an 'effectiveBegin' and 'effectiveEnd' date. I want to utilize this date feature for a "sub-rule" (i.e. rule #1) but not the entire routing rule therefore impacting all other rules. I also do not want to split and create a brand new routine rule just to send the message to the target business process. It would be ideal to keep it contained within this single routing class that was created.
Greetings, can someone give me some help? I'm trying to use job for a instance method, as it's described here but...
Anyway, I have a method like this:
Method PrepareInstance(path){set ..Tool = ##class(Tool).%New(path)do $System.Event.Signal($zparent)}That is being called like this:
Method TestPurge() As %Status{job ..PrepareInstance(..GetTestDirectory("../fixtures/_/dummy-project"))::10set msg = $System.Event.Wait("",10)
}But it fails because:
<METHOD DOES NOT EXIST>zTestPurge+1^UnitTest.Tool.1 *PrepareInstance
HI Community,
I do have a table with quite some names written in Uppercase:
To simply correct this, I have created a button with some code behind it.:

In this article, I'd demonstrate how you can visualize the usage of Ensemble Workflow with DeepSee (tested on 2015.1 and later).
How can I localize arbitrary column name in DeepSee pivot?
If a column name is a dimension or a measure I can localize using architect following this guide.
But what about some random string?
I have tried setting:
as a Caption, but every option simply displays as is.

Ensemble 2015. Working on an a way to send NACK'd HL7 messages to a flat file for external review/troubleshooting. (Similar to the way BadMessageHandler deals with validation errors.)
I think I have the Alert piece down, but need assistance with the exact syntax to do an SQL query in the DTL (or a custom function) to pull the HL7 message Raw Content into the Alert, based on the SessionID.
(Also, anything special to write alerts to the File Operation?)
Thanks, Brian
I am working with Caché Relationships.
I know how to iterate through the One side of the relationship and for each One iterate through all the various Manys.
What I have been trying to figure out, is the code (I can put into a Class) that will start at the top of the Manys, iterate down and for each of the Manys, pull the associated One.
I can do this with SQL or Globals, but I want to use only Class type code.
Is that clear? Any help?
hi
I want to create one class and add one method in it, and then invoke it from terminal. I find this
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
But there is only examples for adding property.
Anyone can help me? Thanks
Hi,
I'm wondering... what solutions if any, have users adopted in order to track changes made to the System Default Settings that hold environment-specific component settings ?
Do you manage to control access to, and track historical changes of, these values using Source Control system ??
thanks-
Steve
You might find it useful or not. It depends on what you can imagine it to be used with, like I had to.
Either way, I created a lib that can fetch environment variables from a file or from the OS where Caché is running.
Mostly know as dotenv. Many languages have it, so why not Caché?
The usage is pretty simple:
If you want to use OS env vars exclusively, just use the method:
##class(DotEnv.Parser).FromOS()
Otherwise, if you want to specify a .env file containing your variables to complement the OS ones use the method:
##class(DotEnv.Parser).FromPath("/path/to/file")Greetings,
I am working on the first of many triggers which will have identical code upon row insertion or update of a single column. According to the document I should be able to define a multiple-event trigger using Cache SQL/DDL.
Here is a link to the current CREATE TRIGGER documentation. Within the description section is the following paragraph: