Umbraco v8 is the next instalment in the content management system (CMS). We’re already being teased with features despite the release date potentially being as far away as 2020! We’ve done a little bit of sleuthing and found more information on some of the features that we’re most excited for.
Adds a GetSegment(int contentId) method to VariationContext. This allows implementations to vary the segment based on the contentId instead of only being able to provide 1 segment for a request.
TWe initially wanted to change the IVariationContextAccessor but changes to public interfaces are not allowed as it would break all existing code.
We have also updated the usage of VariationContext.Segment to use GetSegment() with the appropriate contentId whenever possible.
Umbraco 8 - how to use Segments?
Hi,
Does anyone have any examples on how to use Segments in Umbraco 8?
Many thanks
Jon
Hi Jon,
I know uMarketing suite uses them but I have not seen any code or documentation on them
Matt
Umbraco v8 is the next instalment in the content management system (CMS). We’re already being teased with features despite the release date potentially being as far away as 2020! We’ve done a little bit of sleuthing and found more information on some of the features that we’re most excited for.
One Vanilla
Adds a GetSegment(int contentId) method to VariationContext. This allows implementations to vary the segment based on the contentId instead of only being able to provide 1 segment for a request.
TWe initially wanted to change the IVariationContextAccessor but changes to public interfaces are not allowed as it would break all existing code.
We have also updated the usage of VariationContext.Segment to use GetSegment() with the appropriate contentId whenever possible.
Kroger Feedback
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.