Category Archives: Domino Designer

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.

Mastering XPages is here soon

The upcoming second edition of Mastering XPages is here soon with a release date of the 25:th of April.

Impressive 1200 pages of XPages information. Apart from all the old stuff the authors has added content about mobile, extension library, debugging (my favorite part) and performance.

I will write a follow up with a review as soon as I get my hands of a copy of the book.

Check out what the authors say about the new book

mastering xpages at xpagesdeveloper.com

You can preorder the book here

IBM Press add IBM3370 in the checkout and get 35% off 

Amazon.com

Client Killer v2.0 released now controlled with cmdline

Version 2.0 of Client Killer is released this release can be controlled using the commandline

Client Killer -kill  Will automatically kill the Lotus Notes Client

Client Killer -Killandclean Will kill the Lotus Notes client adn clean the log files

Client Killer -Clean Will just Clean the log files (Make sure that the Notes Client isn’t running) 

The usage of this is i.e cleanup the log files when users logon to their computer in login scripts.

Link to the new version –>> Client Killer

XPages Event parameters solution found

>It’s very interesting that event parameters retrieval is totally undocumented and there is no articles / blogentries about it on the web. You should know that I have been searching and trying to get the solution thru the community but with no luck.

 
But Now I have found the solution
 
When triggering a onClick event the this object will contain a XspEventHandler and
this object has a method called getParameters() this method will return a Java ArrayList.
The arraylist will contain the parameters with name and value.
So to print all parameters you can walk thru them like this
 
var value=this.getParameters();
var tmp=””;

for(x=0;x

tmp+=value.get(x).getName()+” – “+value.get(x).getValue();
}
 
tmp will then contain a string will all the names and data of the event parameters for you to display.

Check out my article in the application development wiki

>Finding the end of the code segment in a java agent

>

My Del.icio.us Tags :)Image by halidCan! (: via Flickr



If you edit some java code in the new eclipse based Domino designer you can find the end of your code by placing the cursor behind the start { then the end } will get a box around it

But if you doubleclick at the start { you get this instead much easier to find the end or what do you think?
I think this is a great way to find the end.
Reblog this post [with Zemanta]