Dear All,
I have implemented a toolbar button whose click opens a form. In this form, I have an action hotspot which simply executes the following command:
@urlopen(“www.ibm.com”)
In Notes 7.0 (basic version), when I click on the hotspot to open the ibm site, I get the following error message:
“cannot execute the specified command”
However, if I directly write the @urlopen formula command in the action area of my toolbar button, the web browser is correctly opened.
Do you have any idea? Suggestions?
Thanks a lot for your support,
Mikaël Donini, Arkadin.
Subject: @urlopen ==> “cannot execute the specified command”
I tried what I think you’re doing (Action hotspot in a document) and it worked fine for me in 6.5
As for ideas… Try:
@urlopen(“http://www.ibm.com”)
Try Link Hotspot instead of an action hotspot if you’re going to a URL. (I’m gueesing this won’t work because you actually have more code.)
If there is more code make sure there are no “illegal” characters in the URL - e.g. spaces, quotes, & or ?
Subject: RE: @urlopen ==> “cannot execute the specified command”
Thank you a lot for your answer. But your solution does not work.
I have additional information : in fact, my link hotspot is inside a table which is inside a form.
If I put the hotspot directly inside the form (but not inside a table), it works properly.
Do you know such a behaviour? Is it a bug? Is there a workaround?
I have tested and it works properly with Notes 8 : with this recent version, the link inside the table inside the form is correctly opened.
Thanks in advance for your help.
Mikaël Donini, Arkadin.
Subject: RE: @urlopen ==> “cannot execute the specified command”
In fact, I have investigated a bit more. The exact problem description is the following:
when I open a form via the dialogbox method, then a click on a Link hotspot leads to the error message : “cannot execute the specified command”.
Here is the code to open my form:
dbx = uiw.DialogBox( “FormAlias” , True , True , False , False , False , False , “title”, doc , True , False, True )
If you have some idea to workaround, it would be great.
Thanks in advance,
Mikaël.