Category Archives: Developer tips

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

Standby Custom control what does it do

I have added my first XSnippet today and it’s the Standby custom control.
If you add the code to a custom control and drag in into an XPage all events done in this XPage will be intercepted and if the event taks more than 200 milli seconds the dojo standby widget will show up and prevent the user from clicking.

 

http://openntf.org/XSnippets.nsf/snippet.xsp?id=standby-dialog-custom-control 

 

Some of the code were originally created by two great XPage guys
Tommy Valand and Serdar Başeğmez 

>Does the lack of fullscreen editing in the eclipse based designer annoy you

>I hate it until I found a way around it, that I haven’t seen this documented.

Just double click on the tab you want to edit in fullscreen.
And double click again you you want to go back.
Simple, yes
Reblog this post [with Zemanta]