Question Scott Beeson · Feb 8, 2016 Force or determine case? I've searched the ObjectScript reference for any instances of Upper, Lower or Case and the only thing is a case/switch statement. In all the documentation I can only find SQL and Cache Basic references for things like UCASE. So how do I do this in ObjectScript? #Beginner #Languages #ObjectScript #Caché 0 2 0 343
Question Scott Beeson · Feb 8, 2016 Can I run .mac routines from Zen or CSP? I'm planning to have a web-based management and deployment interface. For now I have started writing some .mac scripts. Will I be able to call these from a web page? Or do I just need to start with Zen? #Frontend #Caché 0 5 0 372
Question Scott Beeson · Feb 5, 2016 Difference between DO and GOTO in a macro procedure? selecttype ; select gateway or ihe read "Deployment Type? (G)ateway or (I)HE: ", dtypedataentry ; first data entry routine #ObjectScript #Caché 0 19 0 629
Question Scott Beeson · Feb 5, 2016 FTP Service, what is the time format for Call Interval? The minimum interval between invocations of the adapter by the Ensemble framework. For adapters that poll for external events, this is the polling interval. However, most polling adapters will process all inputs immediately if several are detected at one time. #Ensemble #FTP 0 1 0 470
Question Scott Beeson · Feb 4, 2016 Healthshare/Ensemble/Cache deployment tool? Anyone every created one? I'm working on a proposal for a deployment tool development project and I was wondering if anyone had any experience with such a thing. We use Healthshare and implementations for new clients are tedius and lengthy. Lots of ensemble service, registry value, lookup tables, namespaces and other things have to be created and configured. I would like to create a Zen or CSP page based deployment tool that can do all this with a few parameters and some custom code. #Caché #Deployment #Ensemble #System Administration 1 15 0 884
Question Scott Beeson · Feb 2, 2016 Architecture question: Where do you put your complexity? I'm designing a workflow for PHR via FTP. What I've done is create a single FTP adapter to pick up files from multiple customers. A router then accesses a lookup table and determines if a particular customer is allowed to send a particular message type to the state. If not, the message doesn't go out. It seems like everyone is against this approach (other than my CEO, thankfully), including Intersystems: #Beginner #Frontend #FTP #Ensemble 0 5 0 324
Question Scott Beeson · Jan 21, 2016 [SOLVED (KIND OF)] Missing something obvious trying to do a lookup in a method So calling this lookup manually from the console works as expected:PHR>set key = "WMMC_IMM"PHR>w ##class(Ens.Util.FunctionSet).Lookup("BlockFeed",key)1However, calling it from a method with some concatination to build the key is giving me problems: #Beginner #Code Snippet #Ensemble #Unstructured Data 0 8 0 313
Question Scott Beeson · Jan 21, 2016 How do I set a boolean? Is it just set varName = 1 or is there an actual true/false value? #Beginner #Caché #Languages #ObjectScript 0 13 0 3.7K
Question Scott Beeson · Jan 21, 2016 [QUESTION] Will I still be able to use these methods from business rules without the [ Final ]? I'm working on some custom utility functions that I can utilize in Business Rules as well as other places. I saw this line in the docs: For each function you wish to define, add a class method to your new function set class. There is no support for polymorphism, so to be precise, you must mark these class methods as final. #Business Rules #Ensemble 0 2 0 214
Question Scott Beeson · Jan 21, 2016 Not sure why I'm getting this error Here is the function I'm writing: #Caché 0 5 0 236
Question Scott Beeson · Jan 21, 2016 Custom function to retrieve environment? I want to do some logic based on what environment code is running in. I can't find a built-in function to retrieve this so I'd like to write a custom function. Does anyone know of a command that would get the current environment? #Caché 0 9 0 644
Question Scott Beeson · Jan 14, 2016 Check config registry or lookup table from Ens.Rule.Definition? I have a routing rule that processes messages from multiple customers. I would like to create some sort of flag or setting that I can toggle to indicate if a given customer is allowed to pass messages through the router. Should I use a registry entry, lookup table or something else? Which can be accessed from a routing rule and how? #Beginner #Ensemble 0 2 0 338
Question Scott Beeson · Jan 14, 2016 Pass path from EnsLib.HL7.Service.FTPService to EnsLib.HL7.MsgRouter.RoutingEngine? I have a service named FTP_In that is of class EnsLib.HL7.Service.FTPService. It picks up files from multiple subfolders and sends them to an EnsLib.HL7.MsgRouter.RoutingEngine. What I want to do is somehow capture the subfolder as a variable for use in the routing rules. Is this possible?Let's say I have the following files and directory structure on my FTP Server #Ensemble #HL7 #FTP 0 6 0 539
Question Scott Beeson · Jan 13, 2016 How to create content for child pages of a template? I created a Zen page with a header. All is good. I then created a new Zen page and during the wizard specified that it was a "subclass of a template page". So now I have Class Custom.App.HomePage Extends Custom.App.TemplateMaster. If I visit HomePage.cls I see the header from the template. However, the HomePage class has no XData Contents section so I have no idea how to actually add content. I tried adding the section but once I do then I don't see the template content anymore. #Frontend #ZEN #Caché 0 2 0 287
Question Scott Beeson · Jan 13, 2016 Best way to retrieve specific record? New to CSP and Zen. I've been going through tutorials and have made some progress. Using the "Contacts" tutorial as an example, I'm trying to create a "ViewContact" page. I want this to be linkable so I'm using URI Parameters, which I understand. However, what I'm not sure about is how to retrieve a specific record. Should I use a SQL statement? If so, how? #SQL #Tutorial #Frontend #CSP #ZEN #Caché 0 5 0 283