Copied to clipboard

Flag this post as spam?

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


  • Dres Baumann 2 posts 72 karma points
    Aug 14, 2020 @ 08:45
    Dres Baumann
    0

    Conditional rendering from another component

    Hi Guys, i need to implement a Chatbot to Umbraco. And add a switch (showBot) to each ContentType which is used as a site. I want the Bot only be displayed on the specific site, if this switch is set to true. The problem the Chatbot is not "on" the pages where the boolean showBot is on. Its on a different ContentType / component almost like the Navbar is. The question: How can i access the value showBot of the current active Site from the BotTemplate / Component. Thank you very much!

Please Sign in or register to post replies

Write your reply to:

Draft