I read this post How to run a web app in a web page and tried to embedd my app in our CMS. The solution wirh IFrame and a callback for setting the height works, however I´d like to know, if there is another solution too.
First, rtl.run() is not enough, because the CSS and lib´s must be embedded, too:
<script src="bootstrap.bundle.min.js" type="text/javascript"></script>
<link crossorigin="anonymous" href="bootstrap.min.css" rel="stylesheet"/>
...
<script src="WebRezept.js" type="text/javascript"></script>
<script type="text/javascript">rtl.run();</script>
But this still does not work, because this "TMS Web Project" is the path to the app, but the CMS generates "https://www.nutritional-software.at/content/rezeptberechnung_im_web" as URL for the page and so the scripts arn´t found.
If I start the app via it´s link TMS Web Project, the App runs ok.
If I add the path to the , the frmMain from the app is´nt found any more.
Any ideas?
tx in advance!