Running Javascript Code after Backend-Init has finished
Hi,
is there a way to run JS Code or integrate an own angular controller, that runs custom code after the backend has been loaded and the umbraco client api can be accessed?
I mean, if a backend-User logs in, after the login process and all the client script of umbraco has been loaded, I want to hook up and run some custom javascript code. I can do this, if I add a custom dashboard and start my code in the dashboard's angular controller. But I want to do that without integrate a dashboard. And the code should actually run in any section, not only content section.
Running Javascript Code after Backend-Init has finished
Hi,
is there a way to run JS Code or integrate an own angular controller, that runs custom code after the backend has been loaded and the umbraco client api can be accessed?
Cheers,
Tom
Hi Tom,
What do you mean when the backend has been kiaded and the umbraco client api can be accessed?
Do you mean after restart of application?
Thanks,
Alex
Hi, Alex,
I mean, if a backend-User logs in, after the login process and all the client script of umbraco has been loaded, I want to hook up and run some custom javascript code. I can do this, if I add a custom dashboard and start my code in the dashboard's angular controller. But I want to do that without integrate a dashboard. And the code should actually run in any section, not only content section.
Hi Thomas,
This is really interesting issue.
Trully said I don't know how to do it in right way, except change source code of Umbraco.
Thanks,
Alex
Hi, everyone,
I found this article, that fits my need:
http://24days.in/umbraco/2015/umbraco-7-back-office-tweaks/
Just add a App-Plugin without view, only the JS-File and get the job done.
is working on a reply...