Give everyone a chance to get featured – output random records from your Fetch XML


Mark Christie wanted to feature speakers at the Scottish Summit randomly to promote inclusion and equality. The solution involved retrieving the speakers using fetchxml, randomizing the order of the results using liquid's shuffle filter, and using a loop to display the first four results. The code for this solution is provided in the article. The author also mentions the availability of various liquid filters and recommends checking out Microsoft Learn for more information. The article also includes links to previous and next articles, an author bio, related posts, comments section, and more articles in the Power Pages category.


Article 23m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time