Copied to clipboard

Flag this post as spam?

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


  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Mar 29, 2019 @ 14:24
    Alan Mac Kenna
    0

    Health Check with Content Picker

    Hi,

    I'm wondering is it possible to create a Health Check that allows the user to select a content node. The outcome that I want the health check to achieve is that a particular content page exists and is published.

    If this isn't possible, is there another way to achieve this? - e.g. allow the user to put a uid into a textinput? Where would I store this value? I'm guessing in one of the config files but am wondering what best practice would be.

    If there are any similar types of health checks that exist I'd appreciate a pointer toward them. Thanks!

    Alan

  • Paul Seal 524 posts 2889 karma points MVP 6x c-trib
    Mar 29, 2019 @ 14:34
    Paul Seal
    100

    Hi Alan There is a similar health check in the email settings check. The one where if you haven't set a specific from address and you still have the default one, it gives you a text box to enter an email address.

    https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/HealthCheck/Checks/Config/NotificationEmailCheck.cs

    Cheers

    Paul

  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Mar 29, 2019 @ 16:26
    Alan Mac Kenna
    0

    Thanks Paul,

    I think this is the right direction to go for what is currently possible with the healthchecker at the moment. Interestingly, there's a bug that only allows specifying a custom value as an email address.

    I've logged an issue against it: https://github.com/umbraco/Umbraco-CMS/issues/5110

    Thanks,

    Alan

Please Sign in or register to post replies

Write your reply to:

Draft