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 15 posts 125 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 5174 posts 18864 karma points MVP 2x 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 340 posts 1260 karma points MVP 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 15 posts 125 karma points
    Feb 14, 2019 @ 16:18
    Graham Davis
    0

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

Please Sign in or register to post replies

Write your reply to:

Draft