Dynamic Detail View

 

How to use the dynamic detail view when you have multiple widgets on a single page


In Sitefinity, if you have more than one of the same reusable content widgets on the page, the details of that item will duplicate for every widget instance once it is selected by a site visitor. This is a default setting and can affect widgets like People, Events, Newsroom and Calendars.

For example, if a site builder is displaying the people widget three separate times on a page will cause any selected profile to display on the page 3 separate times as well. 

The Workaround


For each widget impacted follow the following process: 

  1. Click Edit on the widget 
  2. Select the Advanced button 
  3. Click the Model button 
  4. Scroll to the bottom and locate the UrlKeyPrefix field 
  5. Put a unique ID in the UrlKeyPrefix field. For example the first unique ID would be "ID1".
  6. Save the changes
  7. Repeat this step for the other widgets. The next widget would get "ID2", then "ID3" and so on. 
  8. Save all changes
  9. Publish the page

The result will be that the widget that is selected by site visitors will be the only one on the page that displays the items detail view.

 

CMS Login