hcl-bot
December 6, 2005, 10:19am
1
Hi,
This is for browser client only.
A link hotspot with formula:
“file://L:/RegPB1.pdf#FDF=L:/” + RegistrationUniqueID + “.XFDF”
works fine.
I’d like to run some more formula before opening the url above,
so I tried to use @URLOpen for the same url:
@URLOpen (“file://L:/RegPB1.pdf#FDF=L:/” + RegistrationUniqueID + “.XFDF”)
This opens the PDF, but does NOT merge the XFDF data.
When I replace the @URLOpen argument with literal string, it works.
RegistrationUniqueID is simple string, why I can’t use it to compose the @URLOpen argument???
Any ideas?
Thanks,
Simeon
hcl-bot
December 6, 2005, 10:23am
2
Subject: Link Hotspot vs. @URLOpen
Have you tried @Text () around it?@Text (RegistrationUniqueID)
hcl-bot
December 6, 2005, 10:25am
3
Subject: RE: Link Hotspot vs. @URLOpen
Yes, I tried @Text - no difference.I also tried composing the whole url in a separate (text) field.
Works fine for a link hotspot, not with @URLOpen .
Thanks.
hcl-bot
December 6, 2005, 12:00pm
4
Subject: RE: Link Hotspot vs. @URLOpen
I assume this @UrlOpen is getting invoked using some action or button on the form.
Try to do @Prompt ([Ok];RegistrationUniqueID;“sss”) just before this @UrlOpen to see whether the correct value is available or not.
When you use link hotspot does it invoke web browser window or not. May be that could be another reason
Regards
Siddharth
hcl-bot
December 6, 2005, 12:13pm
5
Subject: RE: Link Hotspot vs. @URLOpen
(As I mentioned, this is a pure web application)
Yes, the correct value is there.
I added a visible text field, “RegURL”, computed to the same url, which works with the link hotspot, and changed the button to run @URLOpen (RegURL) - no luck.
Exactly same string, coded as literal in @URLOpen , works fine.
Thanks anyway,
Simeon
hcl-bot
December 8, 2005, 10:28am
6
Subject: RE: Link Hotspot vs. @URLOpen
It seems if you give @URLOpen (“the url you need as literal”) then it works but when you have @UrlOpen ( text computing to this url it doesn’t)
Now the only difference between these two is the double quotes which surround the url in first case. So may be you can try @UrlOpen (“"”+your text which is the url+“"”)
Regards
Siddharth