Solved

Sharepoint Random List Item Not Working

Posted on 2014-09-30
4
64 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now