Monthly Archives: August 2013

Guide to IBM Notes and Domino 9.0 Development Certification

The development updates are out and it’s time after the summer to start thinging of dooing the update test. because everybody wants to be a Notes/Domino 9 certified developer right?

I have added resources as links to allmost all parts of the LOT-408 certification requirements list if you find more resources let me know and I will update/add more references to the list.

Let’s check what the requiements to do the test. (from the cert page)

What’s new in Notes Domino 9 resources (Entries above with no link can be found in the resources below)

Wiki Designer 9 News Video1 Video2 cheatsheet pdf from TLCC

Detecting runtime environment in Notes applications

There are several ways to detects where a Notes application is running depending what you want to detect.

@Platform – Detect the operating system where the application is running. 

@ClientType – Are you application running in the Notes Client or on the webb. @ClientType will return Notes or Webb as a textstring.

@IsInCompositeApp – Running inside a composite application. returns True(1)/False(0)

@IsEmbeddedInsideWCT – Is the application running inside the Standard Notes Client it returns true or if it’s running inside the basic client then it returns False

@IsNotesBrowserPlugin – New in Notes 9 to check if your application is running in the browser plugin. It returns True if it does and if not it returns False

@GetMachineInfo – This @Formula was created to handle explicit policy selections but it can be using is ordinary applications also. The great thing is that you can use this to detect if the machine is a Laptop, get the ip adress, mac adress, available memory and alot more. Check out this support post

One thing to remember is that most of these functions is Notes client only.

Adding a second Component palette profile to Domino Designer

Designer has a customization option and that is component palette profiles. Right click on Other and click on Customize

Snap2

Click on New to create a new palette

Snap3

 

Give the palette a name och click on OK

Selects the components you want to have in this palette

Select Components

 

Select Active Component Palette

This makes it possible for you to create different palettes of components depending of what you are developing. One for Mobile apps one for ordinary apps. if you are using your own framework in some application and this framework has special components, your can create a special palette for that.

Customization, Customization we love that.

view.postscript the connection between backend and frontend JS

Have you ever needed to call a client script after you run some some serverside code.

The answer is view.postScript=”your client side function” this function is available from 8.5.3

The code in view.postScript will be sent back to the browser and executed like onComplete but you can control it from SSJS. Great news or what do you think?

What can I use this for you might ask .

1. Change UI design when the partial refresh has brought up new data

2. If you have a multi window solution use the script to update parent window or close the current

3. Depending of the result do a secondary partial refresh on a case selected panel

If you already used view.postscript, please write a comment about your use case.