<html>
<head>
<title>Beispiel</title>
<script>
document.addEventListener('DOMContentLoaded', function () {
(async () => {
let sProjectName = await window.chrome.webview.hostObjects.combitCRM.CurrentProject().Name;
let mainPart = document.getElementById('mainPart');
mainPart.innerHTML = sProjectName;
})();
});
</script>
</head>
<body>
<h1>Aktuelles Projekt:</h1>
<p id='mainPart'></p>
</body>
</html>