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.

  1. This is very useful. Do you mind if I post a slightly expanded version of this on my website along with the Domino Limits page?

  2. Fredrik Norling Fredrik Norling

    I don’t mind, a link back to my post is always nice 🙂

  3. Perfect timing! Project coming up where I need to gather info on a large install base. Knew about these except the most helpful one: @GetMachineInfo. FYI, I also found this reference to an undocumented keyword for this undocumented function –> http://www-10.lotus.com/ldd/nd85forum.nsf/DateAllFlatWeb/a16e7c359f84cb06852579f3004ca252?OpenDocument

    Thanks for posting this

  4. Fredrik Norling Fredrik Norling

    Great that the post could help. 😆

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>