I have created a report based on a sharepoint list and I am using a subscription in WSS 3.0 to email the report to the users once a week. I want one column in the report to act as a hyperlink to the sharepoint list item but in the email version
of the report, the URL has the list item ID repeated twice, which renders the link invalid.
Initially, I tried using the 'Encoded Absolute URL' from the sharepoint list query to populate the hyperlink but this just gives a 404 NOT FOUND error and I have found documented in several places on the web that this link only works with document libraries.
So instead, I decided to create the URL for the action using an expression, like this:
="http://myserver/mysite/Lists/mylist/DispForm.aspx?ID=" & ListItemID.Value
This works perfectly in the development environment and when people run the report for themselves in the sharepoint document library where it is deployed but, for some reason, if I send the report on a schedule then I get the ID parameter repeated at the
end twice. Like this:
I have tried rendering the report in several different formats (Word, PDF, MHTML, HTML) and they all seem to work fine in the development and when run within SharePoint but not when they are rendered and emailed using the scheduler.
Is this a bug or am I missing so
View Complete Post