IPhone 4 with traveler connection problems

>I have a customer that has an IPhone 4 and he gets connection errors, server not responding all the time with the traveler server but if he opens the browser and surf against the traveler server the sync starts to work again.

Anybody have any ideas?

UserRoles in ACL takes forever to apply in Xpages

I have tried a simple test I have a user direct in the ACL. The acl has two roles

User and Admin.
In the XPage I have a button that has a hide when formula that looks like this
if(context.getUser().getRoles().contains(‘[Admin]’)){
return true;
}
return false;
I have also tried
database.queryAccessRoles(@UserName())
But it also have the same effect this takes forever to apply If I add the Admin role to a user.
But if I have a notes form with a field and in that field I add @UserRoles
I just have to reload the form and the new user role apply.

I have tried using show nlcache reset ( tip from Erik Brooks) but it has no effect.

If anybody have an idea how to make the acl change apply also in XPages please feel free to comment.

Strange Error, Domino view doesn’t return any documents on webb but from client (Update)

>The problem is now solved and the problem was that the ACL for the database was probably corrupt.

I copied the ACL to another database, changed one entry and copied the acl back to the original database.
Problem solved.
But it was strange
Enhanced by Zemanta

>Strange Error, Domino view doesn’t return any documents on webb but from client

>I encountered a strange error today, running web application on a 8.02 server.

Some of the webpages stopped returning documents in some views.
just No documents found
And there is several databases using the same template some are working and some isn’t.
tried to fixup, updall -r but no luck
The only error that I have seen on the server is
Attempt to perform folder operation on non-folder note
But I don’t know if this is related. And I can see the documents in the view if I open the view from a notes client.

If anybody have an idea please send me an comment.
Enhanced by Zemanta

>are your code affected by the 8.5.2 computewithform bug and how to fix it

>There is a bug in Domino 8.5.2 that affects the use of Computewithform. If you are using computewithform in your code you should read this. There is no alarm because there is a easy fix to the problem and I don’t think that many will be affected. IBM is working on a HotFix for this but it’s easy to fix so that many will not need it.

If you use computewithform directly after you have fetched a document object then you are affected but If you do something with the backend document before you do the computewithform.
there is no problem.
So check if you application is affected search the code for computewithform( and check if you do a replaceitemvalue, getitemvalue or other manipulation with the document.
But if your code look like this
set doc=db.getdocumentbyunid(UNID)
Call doc.computewithform(false,false)
Then just change the code to
set doc=db.getdocumentbyunid(UNID)
Call doc.replaceitemvalue(“Form”,doc.getitemvalue(“Form”))
Call doc.computewithform(false,false)
And you have fixed the bug so simple.
Enhanced by Zemanta

>Think if Lotus Notes and Symphony worked like this

>

You could store templates inside a nsf and use them using a special richtext light type.

Or if there existed a special xpage control for this. Thighter integration between lotus notes and Symphony is needed to get a larger customer base.BlogBooster-The most productive way for mobile blogging. BlogBooster is a multi-service blog editor for iPhone, Android, WebOs and your desktop

Mailto links with attachments

>I tried this several times but with no luck.

the ordinary syntax for mailto links is like a ordinary url
first parameter starts with a ? next parameter and so with & nothing complicated here
mailto:emailadress
creates a new email with the default client
mailto:emailadress?subject=My email
Created a new email and the subject is my Email
mailto:emailadress?subject=My email&body=some text
Same as above but with “some text” in the body field
mailto:emailadress?subject=My email&body=some text&attach=c:\tempfile.txt
Same as above but you will also automatic attach the file tempfile.txt
most of the examples that is shown on the net is for outlook and they use another parameter name &attachments= this doesn’t work with Lotus Notes
You can also use cc and bcc to add people in these fields automatically.
Enhanced by Zemanta

>The return of the Notes Workspace, thanks Apple

>I had a discussion with a colleague about the simillarity of the Notes workspace and the IPhone / IPad homescreen layout.

If the Notes clients icons would be over the hole icon instead of at the top left corner, and you would add some shading and glossy by it self to the image.
If the background of the workspace would be a high def image and the user could change it by them self.
The Notes Workspace would be a design the users would feel like something new and fresh like the IPhone but it will be the same old workspace.
Then the Icons and the background could look something like this, What a difference…
Enhanced by Zemanta

>HTML 5 Canvas and .toDataURL

>the Canvas object in HTML 5 contains alot of great things

one of the interesting things is that it has a implemented method to get the data inside the canvas as a base64 encoded string.
So if you would
var img1=new Image();
img1.src=”Image1.jpeg”;
var img2=new Image();
img2.src=”Image2.jpeg”;
var canvas=document.createElement(‘canvas’);
canvas.width=300;
canvas.height=300;
var canvas2d=canvas.getContext(“2d”);
canvas2d.drawImage(img1,0,0);
canvas2d.drawImage(img2,100,100);
var data=canvas.toDataURL();

Data will now contain a png image with both the images.
Encoded using base64 easy to send using ajax or store in a field.
You can draw images, plot dots, draw lines, boxes.

There is some online painting sites that already is using this.
http://mugtug.com/darkroom/
http://dev.opera.com/articles/view/html5-canvas-painting/
http://mrdoob.com/projects/harmony/


Enhanced by Zemanta

>Can’t imagine that any other system is this simple when upgrading

>Upgrading from Domino 8.5.1 with Traveler to 8.5.2 with traveler no problem

and it takes no time.

1. I copied the installation files to the server 3 files
Domino 8.5.2
Traveler 8.5.2
Domino HF for SMTP
2. Shutdown the domino services
3. Started installation files for Domino
4. Started installation file for Hotfix
5. Started installation for Traveler
6. Started domino services again
Total time of upgrade max 15 minutes, bet that Microsoft if you can!!!
Of course we need to upgrade mailboxes but that can be done later no need for that
directly.
And there might be some other problems with your server but this server was straight forward no problem 😉
Enhanced by Zemanta