Link to home
Start Free TrialLog in
Avatar of sharepointuser
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.
Avatar of HetAlps
HetAlps
Flag of India image

Avatar of sharepointuser
sharepointuser

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.
ASKER CERTIFIED SOLUTION
Avatar of psgindiana
psgindiana

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
can we do this from xsl? could you please provide some code sample for the same?
Thank you. I will try this out from xslt.