Random document web part not working

Debayo Graham asked on August 18, 2014 18:58

Good Day All,

When I am logged in to the admin section the random document web part works correctly however when I am not logged in the random document is always the same. Any suggestions??

Correct Answer

Joshua Adams answered on August 18, 2014 19:55

There should be a cache section as well in the configuration...try setting that one to zero too.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on August 18, 2014 19:01

In the webpart make sure you set the Partial cache option to 0. This should resolve your problem.

0 votesVote for this answer Mark as a Correct answer

Debayo Graham answered on August 18, 2014 19:22

you mean in performance set Partial cache minutes to 0. If so I did it and it change once then remain on that document there after

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on August 18, 2014 21:19

If you change the cache configuration for your site, it could affect your sites performance. Changing it at the web part level overrides the site setting. I'd be careful to change it for the whole site.

Regarding your issue at hand yet, do you have an ORDER BY set in that webpart? If so, remove it. Also clear the cache in the website and ensure you have more than one item in the content tree.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.