Hi,
Thanks a lot for this code but the issue is that the views are injected in the SplitApp by the routes in the manifest.json file of the Component.js.
You put the code in a button's event when the views are already rendered but I'd like to do it before the they appear in the split app.
Thanks for your help!
Cheers,
Serge.