Tips & Tricks

Subscribe to Tips & Tricks content with RSS Syndicate content or email

Diagnosing the cause of <PROTECT> errors

If your application is raising <PROTECT> errors and you're finding it hard to work out why, here's a way to get additional information.

First, if auditing is not already enabled, turn it on:

views

rating

Bug killing development tips

Does anyone NOT use a debugger? I can't remember the last time I did. It's not because I don't dislike them, I just don't need to use them.

views

rating

When CACHE means cache and not Caché

I only recently noticed the presence of a local database named CACHE alongside the more familiar CACHESYS, CACHELIB, CACHETEMP and CACHEAUDIT.

views

rating

It's upgrade season - is your SQL Body ready?! Keep your SQL Slim and Toned for Upgrade Season!

 It's almost time to get your customers upgraded to new versions - are you worried about showing off your SQL Performance after upgrades?

views

rating

Portal tip: Create a non-Ensemble namespace (2017.1+)

Prior to 2017.1, whenever I created a new namespace using Portal on Ensemble or HealthShare it was automatically configured to host productions. This used to irritate me, because sometimes I'm setting up a namespace (for example, to host our Deltanji tool) that doesn't need the extra Ensemble baggage.

views

rating

Portal tip: Get to the bottom of the Console Log

Sometimes I observe people scrolling manually down to the bottom of the Console Log document when they want to see the most recent messages. So I want to draw attention to the handy link that does the job for you in a single click:

views

rating

"Where am I?" - Adding extra information to the Terminal prompt

If you deal with multiple instances of Caché / Ensemble / HealthShare and sometimes have to work at the Terminal command prompt, did you know that you can easily add extra information to that prompt which may help prevent you running a command on the wrong instance?

views

rating

Best practices of using 3rd party modules in Caché

Hi, Community!

Would you please share your best practices for utilising 3rd party modules (say community solutions, frameworks, development tools/utils).

There are two approaches which I like:

views

rating

Map, Reduce and Filter Collections

Inspired by the article "Declarative development in Caché" that's still trending  on the dev com.

views

rating

Declarative development in Caché

Caché offers a number of methods for going through a collection and doing something with its elements. The easiest method uses a while-loop and lets you fulfill the task in an imperative manner.

views

rating

Portal tip: System Mode

If you work with Portal on multiple instances of Caché, Ensemble or HealthShare you might find it useful to set the System Mode of the various instances, so as to give yourself a visual reminder of the role of the one you're currently working on.

For instance:

views

rating

Portal tip: Your system at a glance

In case you've never used the "About" link at the top of Management Portal, here's a screenshot of the kind of information it shows.

views

rating

Sending Email notifications "On behalf of"

A feature I recently used in working on ISC internal applications is the ability to send emails on behalf of someone.

views

rating