Kentico 13 repeater widget

Daniel Kasmar asked on March 27, 2023 05:24

In Kentico 12 I had developed a widget that allowed me to pull in a generic repeater that I could then configure on the page. Does anyone have experience doing something similar in Kentico 13?

Correct Answer

Brenden Kehren answered on March 27, 2023 05:48

I'm assuming you're version 12 site was in portal engine. If so, you should read the documentation on version 13 and the development methods now as portal engine is no longer available on version 13.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on March 27, 2023 05:36

Since Kentico Xperience 13 is based on MVC, no there isn't a repeater for it due to the MVC architecture.

0 votesVote for this answer Mark as a Correct answer

Daniel Kasmar answered on March 27, 2023 05:38

Okay, I wasn't sure as the transformation tab is still available in Kentico 13 for page types.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on March 27, 2023 07:10 (last edited on March 27, 2023 07:10)

The transformations tab is in the page types because you can still create custom interface in the admin UI, which is web forms based app and you can still use the portal engine here and built the UI page using the UI web parts and templates. So, you can use the page type as a container for custom transformation. But for the actual web site logic, see what Brenden wrote and you can create a custom page builder widget with the desired logic and use API to retrieve the page's data just like repeater did.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on March 27, 2023 19:40

Daniel, i would definitely encourage you to check out Sean's blog articles for best practices, and if you need some widget examples, you can check out the heartland baseline site's repository implementations. The GetTabsAsync method shows a basic way to retrieve items based on path, then you would use your cshtml view to iterate through them in a foreach loop.

0 votesVote for this answer Mark as a Correct answer

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