Category Archives: Posts - Page 12

What are the resources you need to know about as a new XPage Developer

I have lately been helping a new XPage developer with his first steps into the XPage world so I thought I should write a post and update my Learn XPage page of XPageDeveloper.com.

What do I recommend you do to learn XPages.

1. Start learning web techniques if you aren’t familiar with them on CodeAcademy.com they have courses on Javascript and HTML. there is also some courses on html.net/ that you can look at

2. Check out the videos on Notes in 9 david Leedy has a great collection of videos start with the

XPages Jumpstart and continue with the rest of the videos

3. Check out the Learn XPages section on XPageDeveloper.com for more resources

4. And if you want to get certified my guide to IBM Notes Domino 9

If you have any great resources that I have missed write a comment so we can help everybody into the world of XPages.

Hcl domino has support for xpages on version 8.5, 9, 9.01, 10, 10.01, 11, 12

Update: What is the next xpagedeveloper utility?

With my two client utilities I have recieved several email with greatful users. I think it’s time to expand the family of utilities but what should be the next one?

What do you need? Have any ideas ? Write a comment and let me know.

Update: I have an interesting developer utility in development that will probably be released in the next couple of weeks. 

XSnippet Standby Dialog updated on openntf.org

My xSnippet component on openntf.org Standby Dialog Custom control is updated

After some reports about that the previous version of standby dialog didn’t work with older browsers like IE8

I had some time today and investigated and fixed the problem.

This release 3.2 is tested in IE8, IE10 with and without compability mode, Chrome 29, Chrome Canary 31, Firefox 22 and 23

So I hope this is the most tested and working version of the standby dialog control.

And with the fixes between version 3.1 and 3.2 with checks for previous inits for the hijack functionallity it will be more compatible with other customcontrols.

The new version is available thru xSnippets –> Link

Also available as an database download with a test page –> Link

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 HCL Notes applications

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

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

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

@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 HCL 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 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. 

Hide the XPage name in the url, get better web urls.

There is a simple way of hiding the XPage name. Autolaunch an XPage using the database properties.

Notes Autolaunch Tab

But there is a catch, it will only work for the first XPage so if you navigate way to another xpage the magic is gone. there is also another catch the relative path is broken so you need to add a trailing slash. Prev post about that

But that isn’t a problem when you are using XPages so If you build your main XPage and open it using auto launch options, and load the different sub pages / custom controls using partial refresh and the rendered property, the switch control or another control that can load content using a partial refresh.

Also you need to add a trailing slah at the end of the url otherwise you will get problem with dead images and resources not loading.

Your page should work as expected anyway, enjoy.

Tuesday is a buzy day 4 webinars

In my original post I had two webinars listed but Howard and Niklas did comments that there is actually two more webinars at the same day.

TLCC Dojo Grids

And also

How to use the social business toolkit

So four webinars with great content on the same day, hopefully they will be available for later viewing.

Two webinars you don’t want to miss next week

On Tuesday there are two interesting webinars the first one is June Collaboration Talk, IBM Forms is the talk of the day and also a short Intro by me and what I do.

Signup for Collaboration Talk

The second Gamification with XPages presented by Chris Toohey
Gamification webinar sign up here