|
Re: Opening a hyperlink [message #995973 is a reply to message #994977] |
Mon, 31 December 2012 17:29 |
|
From the sounds of it, you could either use a text box to build the link with html or use the expression builder when creating your hyperlink. What have you tried?
Michael
Developer Evangelist, Silanis
|
|
|
Re: Opening a hyperlink [message #996677 is a reply to message #995973] |
Wed, 02 January 2013 16:48 |
Pitshou K Messages: 5 Registered: December 2012 |
Junior Member |
|
|
Thanks Mike, unfortunately this doesn't work.
I have attached a document to illustrate what i'm trying to do.
The URLs are links to SharePoint Docs (Profile Docs) like SOPs that are updated regularly.
I would like to have a user clicking on the Profile Document then the MS doc saved at the URL corresponding to the doc clicked on, opens up. So my report will not show the URL but the Profile Doc will be hyperlinks.
I tried with the URI option and set the location to row["URI"] this throws the following error
Problem accessing /viewer/webcontent/row[%22URL%22]. Reason:
ProxyServlet: /viewer/webcontent/row[%22URL%22]
I tried with Bookmark, still didn't work.
How would you tackle this problem?
Thanks again for your help
[Updated on: Wed, 02 January 2013 16:59] Report message to a moderator
|
|
|
|
|
Re: Opening a hyperlink [message #997130 is a reply to message #994977] |
Thu, 03 January 2013 20:45 |
|
Try this. I unbound your data element from the same dataSet as the table it was in and changed the field type to be an expression rather than static text. The expression vs static text is probably what your issue was. The unbinding of the individual element will just ensure that you get a different link for each row, instead of the same one. Let me know.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Re: Opening a hyperlink [message #997263 is a reply to message #997142] |
Fri, 04 January 2013 19:52 |
|
Ok. If you click on the element that has the hyperlink, then go to the binding tab in the property editor, you'll see that the individual element is bound to your dataSet. You don't want this because for each row, it'll just give the same URL value.
For the changing of the value type to expression, go to the hyperlink section, for the same data elememt, in the property editor. Go into the hyperlink editor and next to where you've entered row["URL"], you'll see that there is a button with ab| on it, with a drop down arrow next to it. Click on the drop down and choose the fx option for the expression builder. This will force the row["URL"] expression to be evaluated before being used rather than using it as static text.
Hope this helps!
Michael
Developer Evangelist, Silanis
|
|
|
Powered by
FUDForum. Page generated in 0.03819 seconds