Copied to clipboard

Flag this post as spam?

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


  • Hung Ha 5 posts 75 karma points
    Jun 16, 2022 @ 02:40
    Hung Ha
    0

    Remove created variant of the content

    Hi all,

    When I create content with 2 variant cultures, If I don't publish all cultures the "External Index" will not index that content to search. So, do we have any way to allow "External Index" to index the content when at least one variant culture is published? Or do we have any way to remove the created variant of the content?

    Thank you for your help, Hung

  • Hung Ha 5 posts 75 karma points
    Jun 21, 2022 @ 11:21
    Hung Ha
    0

    Finally, I found this solution to remove the culture variant

    Add a new menu item to CMS to support CMS users by handling INotificationHandle of MenuRenderingNotification

    enter image description here

    And then create a new controller based on UmbracoApiController, and use ContentService to remove culture info

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft