I have several custom backoffice sections. The files for these sections are located in the App_Plugins folder in the project. Each section, in their own folders, consists of a dashboard.html, controller.js, and a package.manifest. On the dashboard is an iframe that is displaying an in-house user control. The URL to the iframe is being set from within the controller because details about the user need to be passed to the user control so the url needs to be adjusted before being plugged in.
This site is currently in development, so the urls are temporary. Everything is working fine, so now I need to update the urls to the live versions. However, for some reason, when I change the urls in the controller, it isn't reflecting in the backoffice. I don't now how to get it to change. I have tried doing a hard refresh, deleting the cache, deleting the file and re-adding it. Nothing works. Does anyone have any ideas what could be going on here?
Again, everything works correctly with the OLD LINE (see below). I change it to the NEW LINE (see below) and publish the site. I look at the published code and I can see that the NEW LINE is there. However, when I log into the backoffice and goto the section, I inspect the element and see the url of the iframe it's still the OLD LINE.
Update Backoffice Angular Controller
Umbraco 10
I have several custom backoffice sections. The files for these sections are located in the App_Plugins folder in the project. Each section, in their own folders, consists of a dashboard.html, controller.js, and a package.manifest. On the dashboard is an iframe that is displaying an in-house user control. The URL to the iframe is being set from within the controller because details about the user need to be passed to the user control so the url needs to be adjusted before being plugged in.
This site is currently in development, so the urls are temporary. Everything is working fine, so now I need to update the urls to the live versions. However, for some reason, when I change the urls in the controller, it isn't reflecting in the backoffice. I don't now how to get it to change. I have tried doing a hard refresh, deleting the cache, deleting the file and re-adding it. Nothing works. Does anyone have any ideas what could be going on here?
Again, everything works correctly with the OLD LINE (see below). I change it to the NEW LINE (see below) and publish the site. I look at the published code and I can see that the NEW LINE is there. However, when I log into the backoffice and goto the section, I inspect the element and see the url of the iframe it's still the OLD LINE.
HTML:
Controller:
i had the same problem, sometimes updates if you delete the smidge folder of the project
Smidge folder?
Well I'll be a monkey's uncle. That was it. I didn't eve know about a "smidge" folder.
I deleted the content of the folder and then rebuilt/republished the project. That took care of the issue.
is working on a reply...