I am exporting data from SDE to PDF and would like url's associated with each grid to open a file.
I have created the path for each url within an attribute creator and associated it with the PDFSTYLER.
Here is the "corrupt" url when you click it in the PDF:
Here is the Tooltip showing the proper data for URL (same is used for the URL):
Here is the details within the PDF of the URL box showing it carried over correct:
If you change it opening weblink or opening a file etc etc doesnt change the way it adds all those random symbols in the link when you actually link it.
As a test I would try and paste your proper file path into a browser like chrome to see what happens. You may notice that the browser automatically changes the \ to forward slashes and includes a file:// at the beginning of the URL.
Consider changing the AttributeCreator to something more like what you see in the browser - perhaps something more like this:
If the N drive is a network drive I would recommend using a UNC path instead of having your path mapped to 'N'.
The other thing which I notice is that for some reason the '&' character is getting dropped. In the site linked above I see that & is equivalent to %26 so perhaps even this would work better:
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
As a test I would try and paste your proper file path into a browser like chrome to see what happens. You may notice that the browser automatically changes the \ to forward slashes and includes a file:// at the beginning of the URL.
Consider changing the AttributeCreator to something more like what you see in the browser - perhaps something more like this:
If the N drive is a network drive I would recommend using a UNC path instead of having your path mapped to 'N'.
The other thing which I notice is that for some reason the '&' character is getting dropped. In the site linked above I see that & is equivalent to %26 so perhaps even this would work better: