Copied to clipboard

Flag this post as spam?

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


  • Graham Davis 104 posts 359 karma points
    Feb 06, 2019 @ 14:54
    Graham Davis
    0

    Update Overwrights Dashboard.config

    Sorry if this has been asked before.....

    We have a couple extensions we have built in Umbraco. In the Dashboard.config file, we have settings like the one below. If the user installs an update from Umbraco (i.e. ver 7.1 to 7.2), the Dashboard.config file is overwritten and we have to manually add the settings back in. How do we prevent this from occurring?

      <section alias="zpmData">
    <access>
      <deny>translator</deny>
    </access>
    <areas>
      <area>zpmData</area>
    </areas>
    <tab caption="Manage Site Data">
      <control>/App_Plugins/zpmData/Views/LoadDefault.html</control>
    </tab>
    

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Feb 06, 2019 @ 15:27
    Alex Skrypnyk
    0

    Hi Graham

    How did you do an upgrade? During upgrade you have to merge Dashboard.config

    Thanks,

    Alex

  • Nathan Woulfe 422 posts 1580 karma points MVP 3x c-trib
    Feb 06, 2019 @ 22:34
    Nathan Woulfe
    100

    This absolutely won't help you now, but Umbraco 8 introduces dashboard definitions via package manifest, and remove the dashboard.config file completely. Something to look forward to...

  • Graham Davis 104 posts 359 karma points
    Feb 14, 2019 @ 16:18
    Graham Davis
    0

    Thanks for the info. That sounds like what we will need.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies