Copied to clipboard

Flag this post as spam?

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


  • John Bergman 483 posts 1132 karma points
    Dec 14, 2018 @ 03:48
    John Bergman
    0

    Content appears in BackOffice, but not when accessed programatically - IDEAS NEEDED!

    I'll preface this with it works when I am running locally, but not when I have deployed it.

    Umbraco 7.8.1 Local environment: Windows 10, VS2017, SQL 2018 dev edition Staging environment (where it doesnt work): Azure App service connected to sql2018

    The property shows in the back office enter image description here

    The control is a nested content control, configured as follows: enter image description here

    However, when I access the content using this code

    var settingsActivityCards = SiteConfiguration.GetFolder

    The value of welcomeCards is null. I have cleared the umbraco.config file, restarted, republished in various variations, but still cannot seem to get this to work. As I mentioned, this works when I run locally in my dev environment.

    Anyone have any sort of an idea as to what else to try?

Please Sign in or register to post replies

Write your reply to:

Draft