Article Pravin Barton · Jan 13, 2017 2m read

I thought I'd share some issues I had today with Zen development in a custom component. Say we have created a Zen composite component with a few javascript methods that modify its child components. In order to modify these components, we can use something like the following method:

ClientMethod exampleFunction() [ Language = javascript ]
{
    var component this.getChildById('Control1');
    component.setValue('');
}

In JavaScript methods on the client, this refers to the current component or page. The equivalent for expressions that are values of XML attributes is zenThis (see documentation).

How

0
0 452
Question Eduard Lebedyuk · Jan 13, 2017

Recently I started working with GitLab - GitHub self-hosted foss alternative. So far so good, liked the UI,  ease of administration, and available functionality (I was on Phabricator previously,  and still use it for repo mirroring).

GitLab has GitLab CI  (GitLab Continuous Integration) which looks promising (pluggable docker/vm/ds to run code) , but I wondered if someone uses it already and can share scripts for it?

4
0 4284
Question Scott Beeson · Jan 12, 2017

Typically the thumbsup/thumbsdown icons are grayed out until you vote for one.  Then it is either red or green depending on which you selected.  I like this behavior.  However, on my own posts, the ones I cannot vote for, the indicators are both colored.  Since the visual queue has already been established that this indicates a selected vote, I think this should be changed.  Perhaps, since we cannot vote on our own posts, completely hide them.

1
0 223
Article Evgeny Shvarov · Jan 12, 2017 1m read

Hi, Community!

We are fixing groups, tags and message types for the several last year's postings.

So that's why you are getting "strange" notifications now with no any new comment.

As a result, you'll get better tagging and for the DC articles and questions.

Anyway, you can turn off the "OnUpdate" notifications as it is described here.

0
0 249
Question Scott Beeson · Oct 13, 2016

I know this has been suggested before but I wanted to bring it up again.

It would be very nice if we could "accept" an answer to our questions which would result in the question showing "answered" in the index and possibly move the "accepted answer" to the top of the answer chain.

see: Stack Overflow or any other QA site

4
0 325
Announcement Evgeny Shvarov · Jan 10, 2017

Hi Community!

In this release we turned off the digest mode for all the members (until it would be fixed) and fixed the Update notifications: now this settings can be found in the same place for all the members: Subscriptions/Content types tab.

Meet in this small release the new very valuable feature: marking answers as "true" answers.

If you are an author of the question now you can choose the right answer if there are more than one and mark it with the green checkbox. Like it is shown here:

If there are more than one answer, the "true" one will be shown topmost.

The question for the Community:

6
0 792
Announcement Evgeny Shvarov · Jan 3, 2017

Hi, Community!

We have 2017 year on the calendar, so it's time to look back on 2016 and find some highlights.

Here is the set of Top-20 questions regarding InterSystems technology you posted in 2016.

Most viewed

Anyone using Visual Studio Code?, by John Murray  1062

Import/export data from InterSystems Caché, by Evgeny Shvarov  942

How can I pass multiple parameters to an Ensemble REST service and return an authorization token as a response JSON message, by Joshua Goldman  917

How to install and configure Atelier?, by Ronaldo Nascimento  793

how to connect to the Cache database from node.js ?, by Sha

5
0 1360
Question Jon Jensen · Nov 1, 2016

I posted a question and someone replied with a comment.  
This comment  was marked as an answer, but the comment does not actually answer the question. 

How do I tell the system that the comment is not actually an answer and should not be marked as answered?  

Can the original post author decline an answer?  What is the  answer is incorrect?

Can the community vote on the best answer (like on other popular discussion boards)?  

6
0 392
Article Evgeny Shvarov · Jan 5, 2017 1m read

Hi!

Today DC supports the notifications for the posts' updates. It means if someone changes the post text, title, group or tag you can be notified about that.

But this notifications just inform that there were updates, but do not show what exactly was changed in the post.

So through this, you can get the notifications for the posts from previous years without any reason what's happened.

I would suggest to turn off this types of notifications until we'll implement the details in notifications, what exactly was changed in the post and why did you get it. 

To turn off the update notifications go to

15
0 583
Article Markus Mechnich · Jul 14, 2016 1m read

Recently we have exercised this with a partner. It may be helpful for others as well.

The basic functionality is to connect to SAP through SAPJCo (Supporting SAPJCo 3.07+).

As a first step have a production with at least two items of the following type:

  • EnsLib.JavaGateway.Service
  • EnsLib.SAP.Operation

Configure the settings for the Java Gateway and the SAP Operation accordingly. And start the production.

Now the library sapjco3.jar needs to get imported to be used by further internal functionality.
Therefore start in a browser the webpage for simplified SAPJCo base installation

/csp/<your sapjco

2
1 1219
Question Rich Taylor · Jan 9, 2017

When working with a large query executed though an ODBC connection what is the best way to allow the paging of the results at the client side.  I have tried some methods using %VID and similar methods, but these really don't seem to work as the value returned is related to the ID of the data and not the position in the results set.  What would be ideal is if the value seen in the management portal when you check of "Row Number" was available to external queries through ODBC.  I have not seen a way to return this however.   This would be similar to SQL server Last n and Skip n capabilities.

5
0 1066
Article Alessandro Marin · Dec 6, 2016 3m read

How are we doing THIS year versus the same period LAST year? 
This is a common need in Business Intelligence. In fact, many design specifications for reports make use of a comparison between a selected period (year, quarter, etc) up to a certain date (for example November 15th, 2016) and a summary of the same information for the previous year (i.e. up to November 15th, 2015). 
This post shows how to implement this in DeepSee.

8
0 1973
Question John Murray · Jan 5, 2017

I just received three subscription digest emails that seem to have come from the past. For example, one included this fragment:

But when I follow the link from the email the article date is much older:

Did the DC software have a glitch?

4
0 359
Question Kurro Lopez · Jan 4, 2017

Hi all,

I've a problem with EnsLib.FTP.OutboundAdapter

I've configured this adapter using a SFTP connection, it has been working the first time but now its raising the following error message:

ERROR <Ens>ErrFTPPutFailed: FTP: error al colocar archivo '1600000107279008930.pdf' (mensaje='Error in SFTP Put('C:\stream\QhFaDm4L1Jrgbg.stream','mypath/1600000107279008930.pdf') ERROR #7500: Error SSH '-2146430933': SSH Error [8010102B]: Unable to send FXP_OPEN* [8010102b] at SFTP.cpp:539,0',código=0)

This is part of my code:

    try {
        set name = pRequest.FileName
        set ..Adapter.FilePath =
4
0 3138
Question Akash Bajpai · Jan 6, 2017

Hi All,

I am new to this technology and I have installed the trial version of cache 2016.1 with Normal security.

I was trying to develop the sample cinema application and mean while when I tried to view the csp webpage, it opens the browser and ask for login after logging in it shows Service Unavailable error instead of preview of webpage.

Could you guys suggest an answer to resolve this issue.

4
0 690
Question Derek Day · Mar 9, 2016

There is no obvious way to provide feedback to the development community. In order to find the topic to find open discussions, I had to search for "feedback".

There should be links in standard places; without doing research these place probably include: menu, front page, footer.

10
0 344
Article Istvan Hahn · Jan 6, 2017 4m read

This article is one of the series which introduces Eclipse to experienced Caché/ Ensemble/ HealthShare users. The goal is to open the perspective of a developer who was using Caché Studio for years and make Her/ Him see deeply into the Eclipse world – far beyond Atelier. In other words it is an Atelier (Eclipse IDE for InterSystems technology) beginner’s guide. This time the topic is: editing XML files using Atelier.

0
0 777
Article Tani Frankel · Feb 17, 2016 3m read

Question:

How do I get a list of files residing in a certain folder/directory, according to some wildcard/filter.

For example all '*.txt' files in 'C:\Temp'.

Answer:

In CACHE –

You can use the %Library.File's FileSet class query.

Here's some sample code using it (also attached):

run(pDir,pFileSpec)

      Set tRS=##class(%ResultSet).%New("%Library.File:FileSet")
      Write "Name",?30,"Date Modified",?53,"Type",!      Write "--------------------------------------------------------------------------",!
2
0 4171
Question Chris Stewart · Jan 5, 2017

I'm currently re-engineering an application from CSP pages directly accessing COS Methods, to an Angular/Material front end accessing a REST DAL.  Both the Angular front end and REST services are hosted from the same Caché instance and the same namespace, but the REST services have their own CSP application, with all calls being routed through a Dispatch class.  

I've come across an architecture issue recently, and am trying to assess the options I have. At present, we encode a call to a class which takes in an OID and returns the Stream to the browser.

5
0 639
Question Ahmed Ganainy · Dec 30, 2016

Hi

   I am facing issue with cache database it is part of schneider PES software..the issue started with below:

and after some reinstallation i became not able even to install it.

receiving always message: 

"could not locate installation directory" angry....i can only select new instance ...

How i can remove all the registry and old cache instance  to have new fresh installation.

2
0 401
Question Kevin Furze · Jan 4, 2017

the boss started using his new mac laptop, and now we are getting macintosh's own html escape characters being stored in the database especially in our text blocks, when we then print it we see things like don%u2019t instead of don't

so for example instead of the apostrophe we see %u2019 being stored. We've already noticed %u2018, %u2019, %u201C, %u201D, %2026

I'd like to replace the %u2019 with the nearest equivilent (especially when he starts to use left and right quote marks)

so how can I efficiently start to replace the
%u2019 with the apostrophe
%u2026 with the "..."

and there's bound to be a

2
0 542
Question Benjamin Eriksson · Mar 14, 2016

Hello! 

My group and I are currently doing a research project on natural language processing and iKnow plays a big role in this project.  I am aware that the algorithms iKnow use aren't public, and I respect that.

My question is, are there any public documents/research that explains, at least part of, the algorthims iKnow uses and the motivations for using them?  

Here is a concrete example:  We are using GetSimilar() for many of our results and it works very well.

2
0 470