Tag Archives: Domino Designer

Adding OpenNTF extensions the simple way into your IBM Notes client

There is several ways how to add extensions into the IBM Notes client. But the best and simplest way that I have found is to do it this way.

Download the prefered Addon in my case I select the OpenNTF IBM XPages extension library, download the latest version to your computer. Unzip the file in your prefered location, Unzip the zipfile called updateSiteOpenNTF-designer.zip in a new folder.

In you Notes client create a new database in a folder on the server I call mine Client Updatessites and in the New database dialog select advanced templates and Eclipse Update site (9)

New database

Give the database a name of that you like.

Open the database and click on Import Local update site find the site.xml in the client update site folder. (important it has to be the client update site) follow the steps when importing.

import update site

You might say, wait this is like installing this on the server, yes it is but we are adding client code in this case.

When you are done, go to the action menu and select show url:s a dialog appears.

Select the second option nrpc:// press the copy button besides this row.

Second step, importing the site into the client

On the right and side in you client there is a my Widget section

My widget

Click on the three lines at the right side

install features

Now select Configure a widget from and then select Features and Plugins in a update site

screen00049

paste the copied Url press load and press next selecting what you want to install , give the widget a good explaining name and finish.

you will also after a while get the approve install dialogs where you approve the installation.

After this your extension is ready to be used after a restart of the client. But the best thing is that you will get an icon in the “my Widget” section and if your right click that icon you can remove it. Send it to a collegue and an email or publish it to a widget catalog.

Easy simple administration of OpenNTF and other addons in the IBM Notes client & designer

 

Creating your first XPage Repository using GitBlit

If you read my last article about setting up your own GitBlit Server with Domino credentials this is the next step. Creating your first repository and pushing up an xpage application to the server.

Login to your git blit server and click on the repositories tab

Snap64

 

 
 

Click on new Repository at the right hand side of the UI

Snap66

Give your new repository a name, and write a description if you like.
There is lot’s of other options that you can setup but they are not needed for this example.

Click on the access permission tab

Snap71

 

Add owners to the repository, change the access restrictions so your users can view, clone and push.

Also change the authorization control for the users. Now your repository is ready to be saved, so Click on Save.

When the repository is saved, it’s time to get the Repository URL that we need to clone the repository.

Click on your prefered git client software, my prefered client is SourceTree
Snap68

 

 

 

 

 

 

Copy this URL into your application and clone the repository.

And you are ready to get the most out of your development.

Importing a Files and folders into a IBM Domino database

I saw a question today inside a linkedin forum about how to import files and folders into a Domino database and there are several ways on how to do this. Check out these three ways of importing files and folders into your nsf file.

1. Import the files into the webcontent folder using package explorer. using import

Snap17

 

 

 

 

 

 

 

 

Select general -> file system to import files and folders

eclipse file import

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Browse for the from folder, any subfolder will be the top folder when imported into web content in this case bootstrap

eclipse file system import

And then your files and folders look like this after the import

Snap20

 

 

 

 

2. Enable the database for webdav then you can connect to the database using windows and upload the folder/file structure into domino. Super simple and quite easy to maintain. (Link to how to setup this or this old Codestore post)

3. Build an agent that will import the file resource using dxl check out this TLCC article in how to import using DXL.

10 Developer Things I like IBM to show at Connect 2014

Exciting times Connect 2014 is around the corner unfortunately, I’m not attending in person but I will follow it closely as always.

These are the top 10 things I would like to see IBM show at connect

  • Update of Eclipse version in Domino Designer to get better coding environment
  • DOTS Designer Editor, an integrated editor in Domino Designer for DOTS tasklets. So they are as easy to create as an XPage/Agent.
  • Webdav support for attachment editing both for iNotes and Custom applications so users can edit and save files without download and upload attachments
  • Closer integration with Source Control, we want to do automated builds, and better fine tuning of DXL exports (Not all Binary or none binary)
  • New version of One UI that uses responsive design
  • Dojo or JQuery as backend framework for all controls
  • Editor for Faces-config to setup beans and all other things that needs to go in there
  • Social Business Toolkit upgrade for easier use of internet services, twitter, facebook, dropbox and more services. SBT has to much configuring today, with end points and configuring lots of files. This must be easier to get the wider use of this. 
  • HTML5 Websocket support 
  • Better richtext editing experience for the endusers To get a more smoother transition from old Notes Applications to XPage Applications

What thing do you wish??

More memory for the IBM Notes client and an utility update

I’ve updated my Designer Memory Configurator to fix some problems reported to me.

The new version number is 2.1 also remember that your ordinary IBM Notes client also gets speed by giving it some more memory. Let your client free.

Download the new version here

 disk

Also check out my other utilities

Client killer and Snippet Sync

The new XPageDeveloper Utility is here Snippet Sync

Eclipse Code Snippets in IBM Lotus Domino Designer is a great way to develop faster with ready made code snippets, that you can paste into your software. Easy to add and easy to use but there is a major problem. It’s very hard to share snippets within a development team or from a community. And we all like sharing so this is where Snippet Synd comes into the picture. This software helps syncing Snippets categories and all snippets inside that category. Snippet Sync can sync from a file location or a web location so the updating a snippets just became very SIMPLE.

If you don’t know what the designer snippets are check out this Notes in 9 video –> Link

I have also created a GitHub Repository with some snippets to start with. They can be found here. The idea is that these can be contributed from the community or replaced by an official one from openntf.org in a later release.

Download Snippet Sync Here

SnippetSync

Improvement suggestions is always welcome 🙂

Designer quick tip – Database compare

Compare databases for differences

If you have two versions of an application and have missed to document what the differences between them were. Here’s how you could find out how.

Add the two versions to Domino Designer. Goto package explorer, select the two databases and right click.Database Compare DDE

And when you compare the databases, you will get a structure where you can see what’s different.

database compare

There are folders that you can skip to look at like the local folder. If we now open up the xpage folder we will in this can find that an xpage called document is changed.

Snap81

The differences is highlighted with grey, I have also added a red line below them in this example. the buttons at the top also makes is simple to add the changes between the databases displayed. Or if you only want to document the changes.

There is not difference between Notes 9 and 8.5.3 this works the same in both versions.

Backup and Restore your Domino Designer settings

There is alot of settings in the designer client, displaying linenumbers in the Lotusscript editor, different settings in the editors. And when you have done all these settings you never remember what you have done when everything is working like you want it to do. A backup of you settings would be great but how to you do this?

(My screenshoots are from Designer 9 but this works in older versions also )

Quite simple actually, open up package explorer right click in panel and select Export

Import Export

Open General and select Preferences and press Next

Saving Preferences

Export All, Browse where you want to save you backup.

What to export

And press finish, now the backup is done.

If you want to Restore the backup later if you have a new installation or restore everything after you have done some modifications.

Select Import instead of Export at the first step

Snap61a

Select General and Preferences in the next dialog and press Next

Snap68

Browse for you backup file, select import all and press Finish

Snap67

You have now restored you settings from an backup file.

Get the designer client 8.5 and 9 to run smoother

Designer memory configurator version 2.0 is released. This version has some enhancements to make your life easier. Support for Notes 9 so you can configure the Notes 9 designer client to run even faster.

I have also added so you can control the program using the commandline to get the max potential.

Check out the extras Group where the Designer Memory Configurator is installed. With this command line switch. you can easily add it to the startup of you computer and never have to care about the memory configuration resetting because of installation of Fixpacks or reinstalls.

Happy Coding

Download the new version here –> Designer memory configurator

Make your Domino Designer more responsive and stable

I came across a support document by IBM telling that increasing memory in the Domino Designer will make the client more responsive and stable.

http://www-01.ibm.com/support/docview.wss?uid=swg21617708

This document also introducted another memory parameter xmca this parameter is now added to

The Designer memory configurator version 1.2  Link