Discussions

Ask a Question
ANSWERED

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
ANSWERED

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.

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
ANSWERED

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)
ANSWERED

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: ![](https://files.readme.io/0357dcc-image.png) 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". ![](https://files.readme.io/92aece5-image.png) Könnt ihr bitte diese OnSave Methode prüfen?
ANSWERED

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. ![](https://files.readme.io/2806e6f-9CE5C46B-01FA-441E-B1E5-D97CA73C440F.jpeg) Zweites Bild zeigt was Blog-Beitrag widget macht und wir wollen. ![](https://files.readme.io/3c33363-9B532D2A-8C22-439D-A3BD-1CF185450695_1_105_c.jpeg) Könnt ihr uns den Code bitte teilen, damit wir wissen, wie man über API die Pages/Communities mit deren Events bekommt?
ANSWERED

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
ANSWERED

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
ANSWERED

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.
ANSWERED

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