Question Scott Beeson · Mar 1, 2016 Recommend software for creating XSLT transforms? I'll be doing my first xml transform soon and I'm hoping to find a good graphical mapping tool to generate the XSLT. Does anyone have any recommendations? I've tried the demo of Altova MapForce and it's exactly what I want but it's super expensive. Working for a non-profit it would be nice if I could find a free or cheap solution. #Ensemble #XML #Mapping 0 5 0 3.2K
Question Scott Beeson · Feb 25, 2016 Direct access to the bug tracker? Is there a public bug tracker? It would be nice to be able to search for existing issues before posting or get the status of an issue. I feel like I'm cluttering the forums. #DC Feedback 0 3 0 375
Question Scott Beeson · Feb 24, 2016 [ISSUE] Friends subtab confusion? If you go to your profile and click the "Friends" tab there are 3 sub tabs: #DC Feedback 0 4 0 145
Question Scott Beeson · Feb 16, 2016 Concatenate columns in results with GROUP BY? Here is my original query: SELECT EventType, InitiatedAt, COUNT(*) as cnt FROM HS_IHE_ATNA_Repository.Aggregation WHERE EventType = 'LOGIN' AND LocalDateTime > '2016-02-16 11:00:00' GROUP BY EventType, InitiatedAt This gives me data like this: #Code Snippet #Databases #SQL #Caché 0 3 0 7K
Question Scott Beeson · Feb 12, 2016 Help with SQL error Error: [SQLCODE: <-400>:<Fatal error occurred>] [Cache Error: <<SUBSCRIPT>%0AmEdun+4^%sqlcq.HSREGISTRY.cls966.1 ^||%sql.temp(1,"")>] [Location: <ServerLoop - Query Fetch>] [%msg: <Unexpected error occurred: <SUBSCRIPT>%0AmEdun+4^%sqlcq.HSREGISTRY.cls966.1 ^||%sql.temp(1,"")>]Here is an example of a query that gives the error: SELECT COUNT(DISTINCT Criteria) as Relevance FROM HS_IHE_ATNA_Repository.Aggregation WHERE EventType = 'CROSS GATEWAY QUERY' #SQL #Caché 0 10 0 4.7K
Question Scott Beeson · Feb 12, 2016 Get columns dynamically? In MSSQL I think you can do something like this: select * from HS_IHE_ATNA_Repository.COLUMNS where TABLE_NAME='Aggregation' How can I do this in Cache SQL? [%msg: < Table 'HS_IHE_ATNA_REPOSITORY.COLUMNS' not found>] #Beginner #Caché #SQL 0 11 1 2.3K
Question Scott Beeson · Feb 11, 2016 Ens.Rule.FunctionSet without parameter? I'm writing some custom functions for use in a routing rule. I have a few that are working, but right now I'm trying to use one that has no parameters. Typically this would be a sub instead of a function, but I'm not familiar enough with Cache to know what I need to do here. Here is the code: #Code Snippet #Debugging #Perforce #Ensemble 0 6 0 485
Question Scott Beeson · Feb 8, 2016 Variable scope in .mac routine? Given the following code: #Code Snippet #Caché 0 11 0 630
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 379
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 399
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 693
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 496
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 942
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 347
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 378
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 4K
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 232
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 255
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 702
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 364