I am developing a coldfusion web application that contains a
page displaying a pdf created in Autocad. The pdf contains a
building's layout and a hyperlink has been created in each of the
rooms containing the room number.
The question is - how can I get CF to:-
1) Detect the user clicking on the hyperlink in the pdf
2) Pick up the room number contained in the hyperlink
3) Prepend the correct forwarding page information in front
of the room number
4) Get CF to then navigate to that page (in the same window)
I do not want to hard code the full URL into the pdf
hyperlink as the system may move servers etc in the future.
I think the problem might be that PDF's are opened locally
from the client so there is no context to resolve a relative URL.
Dedicate a domain name to the location of your .cfm page and
hard code that URL into the PDF hyperlinks. If the system changes
servers, just remap the domain in the DNS to point to the new