Based on this work I needed a function to convert a notesdatetime to a java timestamp.
I changed the getTimestamp method to
Function getTimestamp(dt As Variant) As String
Const EPOCH_DATE = "01/01/1970 00:00:00"
Const DT_TYPENAME= "NOTESDATETIME"
Dim epochDT As New NotesDateTime(EPOCH_DATE)
Dim tempDT As New NotesDateTime(Now)
If(TypeName(dt) = DT_TYPENAME) Then
tempDT.LSLocalTime = dt.Lslocaltime
tempDT.LSLocalTime = dt
getTimestamp = cstr(tempDT.TimeDifference(epochDT)) & "000"
I needed this function because I had to update a timestamp field in vpuserinfo.nsf
Centos 7 - VM Ware Player
Sat, Aug 2nd 2014 2:14p Urs Meli I tested centos 7 on my vmware player. When I added a second network card, it was not detected from centos.
A long journey through the internet began... I tried a lot of things...
lspci showed both network cards, but the NetworkManager did not recognize the second NIC.
The first card was an Intel, the second a AMD. I found a note that the support for this AMD card in Centos / RHEL 7 is dropped.
In the VMWare Player config I could not change the type of nic.
I had to edit my .vmx file [read] Keywords: centos
DIIOP - TDI
Tue, May 13th 2014 6:12a Urs Meli When Klaus Bild tried to implement the synchronization between our AD and the Domino, see here. We had some issues.
The TDI scripts were working correctly on the test systems, but not in our productive environment.
First we had this error
CTGDKC065E Unable to execute Domino Action. NotesException occurred: ID=4,000, Error Text=Notes error: The disk drive specified for the ID file is not ready.
After some research about DIIOP I finally discovered the "tell diiop dump config" command. Th [read] Keywords: domino
$$Previous can be tricky with iFrames
Thu, May 8th 2014 10:13a Urs Meli Yesterday I ran in a strange error.
There's this website in xpages, you click a button, which will open a new xpage form. After the page has been saved you should return to the first xpage.
The submit button was very simple
The funny part was, that the page which opened was just a small part from the first page.
Further investigation showed that this small part was inside an iFrame inside custom control.
The solution to this is simple. The before [read] Keywords: xpages development
Fun with Xpages
Wed, Dec 18th 2013 10:09a Urs Meli I created a small XPage with only one link element inside. The URL is something like "mailto:firstname.lastname@example.org".
Opening the page in a browser is boring, as it works like you would expect.
Opening the same page in XPINC, the fun began. After around 40 Internet Explorers had been opened, I had to shutdown my VM :-) [read] Keywords: xpages vm
Update to Notes 9.0.1 on Ubuntu 13.04 x64
Thu, Oct 31st 2013 6:10a Urs Meli According to this Link Ubuntu should be supported for 9.0.1. So I tried to upgrade my Notes 9.0 on ubuntu 13.04.
First I tried the smartupgrade.sh without success. Some dependency problems.
Next I changed the DEBIAN/CONTROLS file in the ibm-notes-9.0.1.i586.deb file according to this link (Step 3).
The newly created ibm-notes-9.0.1.i586.deb file installed fine. After that, all the other packages installed too.
Upgradeing was much easier than installing Notes 9.0 in the first place :- [read] Keywords: ibm
Fun with word 2013 - Calibri from hell
Wed, Aug 28th 2013 5:57a Urs Meli Exporting Data from Notes to Word seems to be an easy task. Filling the document. replacing some tags with data, formatting the document, creating the TOC.
Works fine, unless I try to save...... The default font is set back to Calibri, the padding changes... The whole layout just breaks....
First I thought, I broke something with my coding. I displayed the word document before I saved it. Everything is how it should be. Saveing the document, close word, reopen the document and the layout is [read] Keywords: notes
Traveler UP2 - connection errors
Wed, Mar 6th 2013 5:08a Urs Meli I tried to install Traveler UP2 some days ago.
I had a test server running Traveler UP1, which I upgraded.
After the upgrade I could register new devices (iphone and android) but they were unable to sync. The device log showed an error 500 http error.
The server console showed some longish severe error messages from traveler. Something about getDevicePreferences error.
The common reason for this error is a misstyped traveler url in the server document or the notes.ini, which in fact [read] Keywords: notes
Traveler - logging user activity - Part 1
Tue, Nov 20th 2012 5:08a Urs Meli Ever wondered that traveler does not provide any statistics about the user activities? Do you want to know how much data gots transmitted over your traveler server?
The statistics from the traveler task gives you just a brief overview but if you want to track a single user you are lost, are you?
There's a simple way to get the results. Do you remember DomLog.nsf ? If you enable Domlog.nsf on the traveler server every request gets logged.
I built a new view - traveler - in the domlo [read] Keywords: agent