?
Solved

Sharepoint Random List Item Not Working

Posted on 2014-09-30
4
Medium Priority
?
85 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 32

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

743 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