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
    14 days ago
    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 4975 posts 18106 karma points MVP 2x admin c-trib
    14 days ago
    Alex Skrypnyk
    0

    Hi Graham

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

    Thanks,

    Alex

  • Nathan Woulfe 321 posts 1170 karma points MVP c-trib
    1 week ago
    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
    6 days ago
    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