sharepointuser
asked on
LinkUrl for events retrieved from cqwp is wrong
I am trying to display events in my content query web part with custom xslt file. I want to provide a link to the event and so I have used the LinkUrl from within the xslt to get the url. But this is returning a wrong url. It is of the format http://mysiteurl/Lists/ListName/1_.000 which is wrong. Could anyone have any experience with this kind of issue?
If someone has tried to display events within a content query web part, then probably you might have experienced this.
If someone has tried to display events within a content query web part, then probably you might have experienced this.
ASKER
In the example he is using the LinkUrl itself to get the url, but in my case it is not working. As I have mentioned above I am getting the url as http://mysiteurl/Lists/ListName/1_.000 .
I have tried it and it works with items in the Pages library. It does not work with Calendar or Events. Maybe we have to use some other attribute. Please let me know if you have an idea on this.
I have tried it and it works with items in the Pages library. It does not work with Calendar or Events. Maybe we have to use some other attribute. Please let me know if you have an idea on this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
can we do this from xsl? could you please provide some code sample for the same?
ASKER
Thank you. I will try this out from xslt.
http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/0101df86-adae-4fb0-b11b-57ed8d6faa4ahttp://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/0101df86-adae-4fb0-b11b-57ed8d6faa4a
:) HTH