Discussions
Sometimes the plugin cannot be initialized ERR6 after Cannot read properties of null (reading 'contentwindow')
This ticket refers to the customer ticket 56816.
In a Haiilo instance of our customer, sometimes the Haiilo plugin cannot be initialized. In the console you can see an ERR6 with the error message "ERROR PluginError: Initialization timed out after 60000ms (ERR6) at 672.5ce4467c03910880.js:1:15927". If the page is reloaded in such cases, the plugin is initialized correctly afterwards.
Noticeable is that before that another error message "Uncaught TypeError: Cannot read properties of null (reading 'contentwindow')
at init.js?id=0fa78adf...7&lang=en-US:185:78" appears and then after 60000ms the ERR6 code appears. I have two screenshots showing the behavior.
I myself, cannot reproduce in our Haiilo test instance the problem. Here the plugin is always loaded.
Where does the error "Uncaught TypeError: Cannot read properties of null (reading 'contentwindow')
at init.js?id=0fa78adf...7&lang=en-US:185:78" and do you think this error is related to ERR6?
Thanks,
Simon
Posted by Simon about 2 months ago
Get Haiilo parent theme into the plugin context
Currently, the Haiilo plugin provides a configuration field with the possibility to set custom configurations such as background color, etc.
<https://dev.coyoapp.com/recipes/add-global-configuration>
<https://dev.coyoapp.com/recipes/use-configuration-values-from-the-pluginadapter>
But I would like to know if there is a possibility to get the information about the current theme colors of logged-in users into the plugin context so that I can change the theme color of my custom plugin components e.g. buttons without using plugin configuration.
Posted by Roby Hartono about 2 months ago
Error Code 400 on https://community.haiilo.com/web/plugins/ec8f7316-d38a-4e68-828e-8a2efe614f2e/init
Hello,
in the Haiilo instance community.haiilo.com our plugin is not loaded reliably . We have not been able to reproduce the error in other instances.
The request <https://community.haiilo.com/web/plugins/ec8f7316-d38a-4e68-828e-8a2efe614f2e/init?srcld=7b0285c7-1dc2-47b1-ae34-fdeacf8c2171-94dc03f0-dbfd-4c2f-8823-d28b1e9afb35&jti=vZIINPs74iaJrNuC> gets a 400 error back in cases where the plugin is not loaded.
Any help will be appreciated :)
Best,
Simon
Posted by Simon Kapell 2 months ago
Performance Problems after switching - Hosting Provider
Hey guys,
I had a conversation with a client from us (WESPA). The wrote me that after a Hosting provider change from you the Application is very slow and the integrations also.
Do you know that problem?
Here is what he wrote:
The problem has existed since yesterday (1. june 2023). My colleague Andreas (Head of IT) said that Haiilo has changed to a different service provider (provider/host - no idea...) and thus has a different technical architecture behind it. Since then, we have also had problems with the system in the WESPA.
Let's see what Finanz Informatik still allows or can do (unfortunately he wasn't that optimistic - but that was in relation to the intranet itself and not the interface to the ideas lab...).
Is there any problems you know? Should we update our integration?
Thanks for letting me Know
David from Table of Visions (Innofy - Idea- and Innovation-Management)
Posted by David Holetzeck 3 months ago
Methode OnSave funktioniert nicht richtig
In der Dokumentation steht, dass man einen Callback registrieren kann, der jedes Mal ausgeführt wird, wenn Haiilo Home eine Speicheranforderung initiiert, d.h. jedes Mal, wenn ein Benutzer auf den Speichern-Button im Einstellungsmodal klickt. Aber das ist nicht der Fall.
Um zu zeigen, dass dies nicht der Fall ist, habe ich ein funktionierendes Plugin verwendet und diese Methode darauf basierend aufgerufen, um zu sehen, ob sie funktioniert oder nicht.
Das folgende Bild zeigt, dass sie hinzugefügt wurde und bei jedem Klick auf die Schaltfläche "Speichern" aufgerufen wird:

Im folgenden Screenshot sehen wir nicht, dass es keine Protokolle in der Konsole gibt, wenn die Schaltfläche "Speichern" angeklickt wird. Dies zeigt uns, dass die Methode nicht funktioniert. Auf der linken Seite sollte "xxx" angezeigt werden, "Diese Funktion wurde aufgerufen".

Könnt ihr bitte diese OnSave Methode prüfen?
Posted by Andrés Felipe García Cano 3 months ago
Mehrfachauswahl bei Widget "Anstehende-Events"
Hallo liebes Haiilo Support Team,
bei der Option "Selected" wollen wir mehr als eine Page oder Community auswählen können.
Das Problem ist, dass der Framework versteckt die Widget-Struktur. So können wir nicht wissen, wie die Events von deren Pages/Communities übertragen wurden. Dementsprechend können wir nicht mehr als eine Page oder Community bei der Option "Selected" speichern.
wir brauchen erstmal wissen wie genau die API-Requests für das hinzufügen eine Seite oder Community in der Option "Selected" für das Widget "Anstehende Events" aussieht, also der Code. Der Code ist versteckt und können wir aktuell nicht wissen, welche API-Requests die Events übertragen.
Wenn wir den Code sehen können, werden wir dan verstehen, wie die events über API Requests übertragen sind. Dann werden wir den Code für mehrere Seiten und/oder Communities anpassen können.
Am Ende wollen wir das gleiche wie bei das "Blogbeitrag" Widget erreichen. (siehe Bilder)
Erstes Bild zeigt wie aktuell ist.

Zweites Bild zeigt was Blog-Beitrag widget macht und wir wollen.

Könnt ihr uns den Code bitte teilen, damit wir wissen, wie man über API die Pages/Communities mit deren Events bekommt?
Posted by Andrés Felipe García Cano 3 months ago
Widget / iFrame - CSS-Questions / Height of a Widget / Size of a Widget
Hi all,
Wespa had the following question:
1. if you include a plugin (which is embedded via iFrame full width), there is always a frame around the plugin. Is it possible to remove this frame somehow?
2. if you include the plugin, the height from a widget is always limited from haiilo. Is it possible to set the height to 100% height or to increase it manually?
3) If you integrate the widget into a subpage so that the navigation is displayed on the left, we have the following question: How big is the widget actually minus the specified frame?
Thank you for your feedback.
Kind regards
David
Posted by David Holetzeck 6 months ago
Automatic update of the Manifest
Hi there,
i wanted to ask, if the manifest of a plugin is updated automatically or if the customer has to click on the "update Plug-in" button. We recently changed the manifest to include the userLanguage in the context and now I wondered if this change is reflected automatically or if you have to update the plugin manifest manually.
Kind regards
Chris
Posted by Chris Langenberg 7 months ago
Public certificates for validation on server side
Hello Dev-Team,
We have a plugin customer that hosts Haiilo in private cloud under its own domain and with its own certificates. These certificates will expire in a few days. So far we have been manually downloading them from https://plugins.coyoapp.com analogous to the Haiilo certificates (e.g. https://plugins.coyoapp.com/certificate/coyostaging.com.v3.cert.pem). However, the old certificates are still stored there for the customer.
How do I get the new certificates?
We need this certificate in our server to secure specific endpoints.
Posted by Simon 8 months ago
Save button on widget
Hi, i have a question about the widget window.
When you want to place a widget on a page, you can either click Cancel or Save. Is there a way to disable the save button until a specific action has been performed in the widget?
Regards,
Sebastian
Posted by Sebastian Riedemann 10 months ago