Upgrading ISiteCustomNavigationPlugin and ICustomNavigationItem to UI.Version3

I am in the process of upgrading our community from v10.3 to 12.1. 

We have several plugins that implement ISiteCustomNavigationPlugin and ICustomNavigationItem.

I see the notice that ICustomNavigationItem is obsolete, but I'm not sure how to migrate the customizations into CustomNavigationItem

Specifically, we have a lot of logic in the Get/Set of the Url property.

Are there any examples of how to implement Version3 of ISiteCustomNavigationPlugin?

Parents
  • One of the significant changes from V1/2 to V3 of custom navigation items is that V3 is more clear that the item will be heavily cached and should not vary on value presentation other than for the translation of the item. Each returned item is shared among all users accessing the custom navigation data within the provided context (site, specific group, specific user).

    The configured navigation item should always represent a consistent Avatar/Url/CssClass but can have a translatable label/description and can programmatically determine visibility/selection state.

Reply
  • One of the significant changes from V1/2 to V3 of custom navigation items is that V3 is more clear that the item will be heavily cached and should not vary on value presentation other than for the translation of the item. Each returned item is shared among all users accessing the custom navigation data within the provided context (site, specific group, specific user).

    The configured navigation item should always represent a consistent Avatar/Url/CssClass but can have a translatable label/description and can programmatically determine visibility/selection state.

Children
No Data