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)
1

 

However, calling it from a method with some concatination to build the key is giving me problems

Last comment 22 January 2016
0 4
0

answers

123

views

0

rating

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.

 but I didn't really know what it meant.  I didn't run into any problems until I tried calling one of my new methods from another method.  Removing the [ Final ] fixed the issue, but I'm guessing that means I can't call them from Business Rules now?

Any clarification would be appreciated.  And just in case, here are the two methods in question

Last comment 21 January 2016
0 0
0

answers

93

views

0

rating

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?

Last comment 21 January 2016
0 3
0

answers

153

views

0

rating

Hi,

I'm trying to create a Zen Report that, when rendered to PDF has a header on every page that includes some items from the group that I'm iterating over in the <body>.  I can't use <header> as that only displays once for each iteration, even if that spans more than one page, but <pageheader> seems to be independent of <body> so again doesn't work.

 

Cheers,

Steve.

Last comment 21 January 2016
0 4
0

answers

152

views

0

rating

Hi

I'm starting to play around with dynamically creating tabs and panes from query data, and was trying to do the following, with nested tabs.

Tab Group

High level tabs

Sub Tab Group

Sub tabs from the High level tabs.


So I have built up my page with a placeholder top level tab group, then creating and added child tabs to this, then from this level, I have created a new Tab Group programatically, and programmatically added tabs to this new group.  However, all I am getting is the top level of tabs, with all of the leaf data concatenated under it.  Does ZEN allow nesting of tab groups programatically, or do I have to define them statically on the page?

 

Thanks
Chris

Last comment 20 January 2016
0 3
0

answers

177

views

0

rating

When posting content there's got to be a better way to insert a screen shot. Saving to a file and then uploading is very primative plus the content isn't display in-line as one would expect these days. I don't want to "view a document" I want to see the image in-line.

Confluence does a really good job with this. Can we emulate this behavior?

Last comment 19 January 2016
0 2
55

views

+ 2

rating

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

/incoming/green/apple.dat
/incoming/yellow/banana.dat

I want the Routing Rule to be able to send anything that came from the /green/ folder to one operation and from /yellow/ to another.

Last comment 15 January 2016
0 5
0

answers

195

views

0

rating

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?

Let's say I just wanted to display the property "Name" for the contact with ID 12.  What would be the best way to do so?

Last comment 14 January 2016
0 4
0

answers

127

views

0

rating

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.

So, how do I put content in a page that extends another page as a template?

The only documentation I found about templates doesn't really help and unfortunately I don't have access to the sample files mentioned.

Last comment 14 January 2016
0 4
0

answers

97

views

0

rating

Is there someone that has developped a program in order to create a 
"decisiontree"? Depending The answer to a question leads to another question, and so on, 
and so on, and there is an option to return to another point in the decisiontree.

Best regards,

Simon.

p.s. I've already got something, but it's not workable. But to get an idea

Last comment 14 January 2016
0 4
98

views

+ 2

rating

Why can't I see the rating(stars) when I view posts in a group

https://community.intersystems.com/group/developer-community-feedback

None of the posts show their rating in this listing of posts. You need to click in to the actual post to see how it was rated.  Shouldn't  I see the rating of the post before I have to open it?

 

If I view just a general list of posts on the site(not sorted by groups)

https://community.intersystems.com/find/post

I can see the rating/stars per post in this list - before going in to an individual post.

Can this view/layout be applied to the group view of posts?

 

Last comment 13 January 2016
0 2
42

views

+ 2

rating

Welcome to the Learning Services Community.    Learning Services includes product training and related material, documentation, videos and online learning.    We're in the process or organizing our material to provide you with "learning paths" for topics that you might want to explore, develop new skills, or achieve certification as an expert.  This will you learn about our products anywhere, anytime and at your convenience.   

There will be a lot more information coming and I encourage you to go to Learning.InterSystems.com to explore the online course offerings available for you already, free of charge.

And, I'm very interested about your experiences in learning.

Last comment 10 January 2016
0 2
84

views

+ 3

rating

Often times support and sales engineers are asked about recent benchmark results on various platforms and large scale configurations.  These will be made available here in the Developer Community in the "Documentation" section, and as an example here's a link to a recent Intel E7 v2 series processor benchmark.

https://community.intersystems.com/documentation/data-scalability-intersystems-caché-and-intel-processors-0

There are several reports available and more will be made available on an on-going basis.

0 2
0

comments

113

views

0

rating

You may have missed the news that support for older version of Internet Explorer ends next week Tuesday, January 12th. The original blog post from Microsoft can be found here:

https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support

A patch will go live next week Tuesday, that will nag users of older IE versions to upgrade to a recent version. The patch is identified as KB3123303. You can find more information about this patch here:

https://support.microsoft.com/en-us/kb/3123303?sd=rss&spid=14019

0 2
0

comments

69

views

+ 2

rating

Hi,

In an Ensemble message bus that has a Business Service which extends EnsLib.SOAP.Service, I have the option to support SOAP Sessions by setting the parameter SOAPSESSION=1.

The comments says this also effects license consumption.

In what way  is license consumption effected ?

note this is version 2015.1, Ensemble Elite (without Web-AddOn).

thanks - 

Steve

Last comment 6 January 2016
0 4
0

answers

409

views

0

rating

It might be useful to have a alternate view mode that lists one line per conversation with the title, the original date, the # of comments, the date of the last comment and maybe the tags. Maybe if you hover over the topic it opens it up so you can see the text.

Currently I can see about 4 conversations and then I need to press View All to see more. Since these are sorted by date entered, not date last updated, the top 4 aren't necessarily the only ones that might be of interest.

Last comment 29 December 2015
0 1
84

views

+ 2

rating

In the Caché Foundations course, students are learning about Caché Development and ObjectScript syntax at the same time. To help students complete the exercises, we provide an ObjectScript Quick Reference (aka "the Cheat Sheet").

It is not a reference for all of ObjectScript! It is a list of the ObjectScript commands and functions that students use during the course, along with common syntax for objects, collections, etc. It also contains some useful macros.

We are providing a pdf version to the Developer Community.

0 1
0

comments

324

views

+ 3

rating

I want to be able to follow, through notifications, posts to the Caché and SQL topics.

Ideally, you could simply hit a "add to my subscriptions" link from the topic page. But even the subscriptions tab of my user account does not appear to be aware of these topics, instead presenting oddly general categories like "Posts".

 

Last comment 22 December 2015
0 1
66

views

+ 1

rating

I am trying to define the charset for a JQM Application and it is not working. I have tried the following options without success:

Method %OnDrawHTMLMeta() As %Status
{
              Write "<meta name=""viewport"" content=""width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no""/>"
              Write "<meta http-equiv=Content-Type content=text/html; charset=utf-8 />"
              Quit $$$OK
}
Method %OnDrawHTMLMeta() As %Status
{
              Write "<meta name=""viewport"" content=""width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no""/>"
              Write "<meta charset=utf-8 />"
              Quit $$$OK
}

Can you help me please?

Thanks.

Last comment 18 December 2015
0 2
0

answers

150

views

0

rating

Hi,

Is there any API equivalent (within Config.Databases class, or elsewhere) that has the same functionality as the 'Recreate a database' option in the ^DATABASE routine?

This option was added to ^DATABASE (according to internal Devlog CFL1263):

to recreate a database which is equivalent to deleting the .DAT file and recreating it.

I tested this, and the recreate option also appears to also preserve the original database parameters (e.g. max size, resource name).  But when I separately try Delete, and then Create, it does not preserve those settings, so the 'Recreate' option provides additional functionality. 

Is there a way to accomplish this programmatically through a supported API, other than scripting the ^DATABASE routine?

Thanks,

Steve

Last comment 17 December 2015
0 3
0

answers

151

views

+ 1

rating

Is there a way to select distinct keys from an field that has a collection index? I have a field defined as follows: Property data As %Library.String(COLLATION = "EXACT", MAXLEN = "", TRUNCATE = 0); Index data On data(KEYS) [ Type = bitmap ]; And I define a build value array method that parses my data outputs an array in the format array(KEYS)=VALUES. This is very useful because I can query my data using criteria such as  WHERE FOR SOME %ELEMENT(data) (%KEY='param') My question is whether there is some way to select distinct key values, e.g. SELECT DISTINCT KEYS____ FROM ____ . Should I come up with a better way to project this property as table perhaps, may using a computed field? Thanks!

Last comment 16 December 2015
0 1
0

answers

202

views

0

rating