I have 4 hotspot links on a picture with 4 tabs, each tab is linking to a document depending on the UNID from a lookup view, se the code in each hotspot
The problem is that this working very well sometimes but sometimes the link get wrong, I tried to check if the lookup not working, but everything looks fine.
I tested and the link look like this when it works fine
I searched the forum and the web and looked at _doClick but no help
Some one wrote that “the problem was corruption in “Use JavaScript when generating pages” - database property. I turned off the setting and turned it back on and the hotspot and agent work fine.”
I tried this but it did not work.
Please help me solve this! My application is going under if this will not work…
Is there any way to make this function stable and reliable?
I’m in a pretty relaxed mood today, and hope so are you.
If you have 4 hotspots on one graphic, the only available options are named element, link and URL. In no case should you use @UrlOpen in any of these, especially not in url hotspots.
Instead, you should just provide the plain URL itself, like:
The one drawback is, that you cannot stop a link from being created, even if your formula returns “”. One way around it would be to return “#” instead of “” in this case. This would still create a link, but to the page itself.
If this is not acceptable, cut the image into its 4 parts, mark every image and create a separate action hotspot. This will require @UrlOpen again.