Widget personalization

2025/09/08 9:41 AM

Hello,

In the business user tutorial following type of personalization is shown. Wanted to know which type of input component is used for contact group properties. Can anyone share the code or setup for the same.



Environment

Answers

2025/09/08 10:58 PM

I believe that's the object selector.

You can see how we use this in the Kentico Community Portal to let us personalize based on the badges assigned to a member.

[ObjectSelectorComponent(
    MemberBadgeInfo.OBJECT_TYPE,
    Label = "Member badges",
    ExplanationText = "Members only need to have at least 1 of the selected badges.",
    Order = 0,
    MaximumItems = 0)]
public IEnumerable<ObjectRelatedItem> SelectedMemberBadges { get; set; } = [];

To response this discussion, you have to login first.