Xperience 13 select multiple pages on page type field

Anna Pengal asked on February 16, 2023 16:24

I see that Xperience 13 has added functionality to be able to select multiple pages from a widget component property, but I can't find that functionality when creating a new page type. The "Page Selector" field type when added to a page type does not seem to support multi-selecting.

Does this functionality only exist in one place and not the other?

Correct Answer

Liam Goldfinch answered on February 18, 2023 14:02

If you still need a form control for this, then please check this repository out.


1 votesVote for this answer Unmark Correct answer

Recent Answers

Liam Goldfinch answered on February 16, 2023 17:14 (last edited on February 18, 2023 11:56)

I don't think it currently exists for Page types, I do agree it would be a useful addition.

At my agency, we previously created a custom "multiple page selector" form control that opens up Kentico's page selector and then manually stores the selected pages NodeGuids as a semi-colon separated list. You could look at doing something similar yourself.

Depending on the scenario you could look at using a Path selector instead - point the field to a folder of pages.

Alternatively, you could look at using Page Relationships or this RelationshipsExtended module.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 17, 2023 12:12

What do you want to achieve exactly? Why you cannot use UniSelector form control for this and configure it to select multiple pages? This is the documentation about the whole control. But in the page type you can use the already available Universal selector form control, configure it to use either cms.document page type for any page or use just the page type code name, or cms.document.

0 votesVote for this answer Mark as a Correct answer

Liam Goldfinch answered on February 17, 2023 12:21

Yeah UniSelector is another good alternative, but the interface for it doesn't use the Kentico page selector. The page selector is great for content editors, you can to find the documents in the tree rather than just a dropdown or similar.

It would be good to have a form control which allows for multiple pages to be selected using the Kentico page selector - this is something we did in our custom form control. I might discuss potentially releasing our form control on the marketplace.

0 votesVote for this answer Mark as a Correct answer

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