Solved

Sharepoint Random List Item Not Working

Posted on 2014-09-30
4
70 Views
Last Modified: 2016-03-09
I am still on SharePoint 2.0 for the time being, and trying to generate a "tip of the day" section. I have a Data View Web Part, and have searched over and over for using the "ddwrt:Random" function. In my case I get the "XSLT transform failed: 0x80004005" error related to the "Random" method. Is there a way to fix this, or an alternate method to accomplish what I need until we're able to upgrade SharePoint?
0
Comment
Question by:JHMH IT Staff
  • 3
4 Comments
 
LVL 31

Expert Comment

by:Jamie McAllister MVP
ID: 40353050
ddwrt namespace is a 'bonus' library you can reference for extra functionality in your xslt transforms etc. It's not included with SharePoint per se, but easily referenced as below;

http://msdn.microsoft.com/en-us/library/dd583143(v=office.11).aspx

http://www.glynblogs.com/2011/11/displaying-a-random-list-item-with-xsl.html
0
 
LVL 3

Author Comment

by:JHMH IT Staff
ID: 40353406
So far, no luck. I'm still getting the error, and I'm getting confused. When I'm in SharePoint Designer it shows the codesense for the Random function, but it fails with the error even in preview mode.
0
 
LVL 3

Accepted Solution

by:
JHMH IT Staff earned 0 total points
ID: 40768404
The only solution to this was to upgrade to SharePoint 3.0
0
 
LVL 3

Author Closing Comment

by:JHMH IT Staff
ID: 41498614
This function was simply not possible on previous versions of SharePoint
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question