Solved

Sharepoint Random List Item Not Working

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 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

17 Experts available now in Live!

Get 1:1 Help Now