Preserving Custom Changes in Vendr Analytics Report
I've made extensions to the Vendr analytics dashboard by introducing modifications in several specific files within the project structure. Here's a detailed breakdown of the paths and changes made:
Added additional configurations in the analytics.dashboard.config.js file located at:
~App_Plugins\Vendr/backoffice/js/analytics.dashboard.config.js.
with the following changes:
{
name: "Top Selling Resources",
description: "The top selling resources of orders within the given period",
view: "/App_Plugins/Vendr/backoffice/views/analytics/widgets/topsellingresources.html"}
Updated the controller in the vendr.controllers.js file at:
~App_Plugins/Vendr/backoffice/js/vendr.controllers.js
Created the topsellingresources.html file inside the path:
~App_Plugins/Vendr/backoffice/views/analytics/widgets/topsellingresources.html.
Modified the resource code within the vendr.resources.js file located at:
~App_Plugins/Vendr/backoffice/js/vendr.resources.js.
While these changes function as intended and reflect upon saving and browser refresh, any subsequent rebuilding of the solution in Visual Studio results in the customized code being overridden by the default code.
Seeking guidance on how to preserve these additional changes without them being overridden by the default code, ensuring the successful customization of the Vendr analytics report. Any advice or suggestions on how to prevent the custom changes from being lost during the rebuilding process in Visual Studio would be greatly appreciated.
Preserving Custom Changes in Vendr Analytics Report
I've made extensions to the Vendr analytics dashboard by introducing modifications in several specific files within the project structure. Here's a detailed breakdown of the paths and changes made:
Added additional configurations in the analytics.dashboard.config.js file located at: ~App_Plugins\Vendr/backoffice/js/analytics.dashboard.config.js. with the following changes:
Updated the controller in the vendr.controllers.js file at: ~App_Plugins/Vendr/backoffice/js/vendr.controllers.js
Created the topsellingresources.html file inside the path: ~App_Plugins/Vendr/backoffice/views/analytics/widgets/topsellingresources.html.
Modified the resource code within the vendr.resources.js file located at: ~App_Plugins/Vendr/backoffice/js/vendr.resources.js.
While these changes function as intended and reflect upon saving and browser refresh, any subsequent rebuilding of the solution in Visual Studio results in the customized code being overridden by the default code.
Seeking guidance on how to preserve these additional changes without them being overridden by the default code, ensuring the successful customization of the Vendr analytics report. Any advice or suggestions on how to prevent the custom changes from being lost during the rebuilding process in Visual Studio would be greatly appreciated.
is working on a reply...