Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Norwood 131 posts 642 karma points
    Sep 02, 2020 @ 13:00
    Chris Norwood
    0

    Enabling Segmentation in 8.7RC

    Hi all,

    I'm attempting to test the 8.7 Release Candidate but I'm struggling with getting Segmentation enabled.

    According to this PR:

    https://github.com/umbraco/Umbraco-CMS/pull/7965

    I should just need to add

    <add key="showAllowSegmentationForDocumentTypes" value="true" />
    

    To the web.config appSettings section and call an endpoint like this:

    http://localhost:44327/Umbraco/surface/SegmentTest/EnableDocTypeSegments?alias=testBlockPage&propertyTypeAlias=text

    (Where testBlockPage is the doctype and text is the name of the property).

    However, the above just gives me "the connection was reset" errors after whirring away for a few minutes.

    I have made sure that I have the Umbraco.TestData DLL in the /bin folder.

    Has anybody successfully got this working? What is it that I'm doing wrong?

    Thanks,

    Chris.

  • Chris Norwood 131 posts 642 karma points
    Sep 02, 2020 @ 13:04
    Chris Norwood
    100

    And 2 seconds later I found the answer by looking at the source code - you also need:

    <add key="Umbraco.TestData.Enabled" value ="true" />
    

    In the web.config appsettings.

Please Sign in or register to post replies

Write your reply to:

Draft