*This is a premium feature. If you do not already have this available within your templates please reach out to your Account Manager.
The random content snippet can be used to display content from a random page picked from a given content type.This updates each time you refresh the page.
Parameters:
intSitePageId - SitePageId which is being used to identify the page - the default value is the current SitePageId (<%$ vx: SITE_PAGE_ID%>) but it can be any valid SitePageId.
strContentType - Find the random article page with in the specified content type.
<vuture:supersnippet id="VxRandomArticles" storedprocedurename="usp_Vx_FrontEnd_ContentTypeCustomFields_Get" runat="server" SelectRandomItem="true" >
<Parameter Name="intSitePageId" Type="Integer" Value='<%$ vx: SITE_PAGE_ID%>' />
<Parameter Name="strContentType" Type="NVarChar" Value="Web.Generic-sc_barrister" />
<itemtemplate>
<div class="vx_image profile-picture" id="img_02">
<img src="<%# Container["Profile Image"] %>" alt="Profile Picture">
</div>
</itemtemplate>
</vuture:supersnippet>