Dear All,
I am encoutering a problem on Notes 7.0. This problem is not reproducible in Notes 8.0.
When I open a form via the dialogbox method, then a click on a Link hotspot of the form leads to the error message : “cannot execute the specified command”.
Here is the code to open my form:
dbx = uiw.DialogBox( “MyFormName” , True , True , False , False , False , False , “title”, doc , True , False, True )
Is it a bug? If yes, is there a workaround? Why is it only reproducible on Notes 7.0?
Thank a lot for your help and support.
Mikaël Donini, Arkadin.
Subject: DialogBox command ==> “cannot execute the specified command”
OK, I just tried it on my notes 7.0.1 client and it seemed to work for me.
Here is the (sub) form. It has a table with a URL Link in it:
I call this subform via an agent calling code in a script library:
OKClicked = ws.DialogBox(“dlgProductDetail”,True,False,False,False,False,False,“Work Request - New Product Information”,tmpDoc,True,False,True)
This dialog box then looked like:
Click on the URL - my IE (just incase you have it set differently) opened on the CBC site.
Subject: RE: DialogBox command ==> “cannot execute the specified command”
It’s not a version difference, I suspect. It’s a client configuration difference. Your Notes 8 client is set to open URL links in the client – and it can’t, because the client is blocked by a modal dialog. You have to change your preferences to open URL links using an external browser.
Subject: DialogBox command ==> “cannot execute the specified command”
Andre, Stephen,
Thanks a lot for your helpful answers.
In fact, this problem is only reproducible on Notes 7.0 (and not Notes 8.0).
I do not find a Notes configuration parameter in Notes 7.0 to set an external browser.
What is strange is that in version 8, I can open the dialogbox and I can open a browser inside Notes via a link hotspot (the modal dialogbox does not block the client).
I am going to try several things and I will keep you informed about my investigations.
However, if you have some ideas, do not hesitate 
Regards,
Mikaël.
Subject: RE: DialogBox command ==> “cannot execute the specified command”
File > Mobile > Edit Current Location
The 5th tab should be Internet Browsing. Here you can choose your web browser.
Another possiblity is you don’t have your “proxy server” set in your notes 7 but it is in 8. That’s on the first tab (Basic).
Subject: DialogBox command ==> “cannot execute the specified command”
Stephen, Andre,
I have found a workaround to my problem.
Just after clicking on the URL link, I close the dialogbox and then open the URL like this:
@Command([Compose];“bookmark.nsf”; “MyDialogBoxForm”);
@Command([FileCloseWindow]);
@URLOpen(“www.arkadin.com”);
With this solution, the modal dialog does not block the client anymore.
Thanks a lot for your helps which allow me to find this workaround,
Regards,
Mikaël Donini, Arkadin.