Type: rightPanel issue when creating a plugin

Using onlyoffice/documentserver:latest with no customisations locally.
Version: 9.0.4.50

When creating and loading a custom plugin with type:rightPanel the content does not show.
If I simply change the type to panel (making it left panel) it works perfectly.

What I think is happening:
For some reason, the container that normally hold native only office controls remains there and empty, pushing the iframe with he plugin out of view. This can be easily noticed if you inspect the DOM.

Hey @ravenx86

It looks like you might be using rightPanel in your plugin config — could you please check if you meant to use panelRight instead?
Here’s the docs link for reference: https://api.onlyoffice.com/docs/plugin-and-macros/structure/configuration/#variationstype.

If it’s already set correctly, we’ll be happy to check the behavior on our side.

I made a typo in the post, sorry for that, in the config.json it is “type”: “panelRight”,

Hello @ravenx86, :wave:

Thank you for clarifying the typo in your plugin config. Just to confirm, is the issue with the panelRight type still occurring, even with the correct "type": "panelRight" setting in your config.json?

If the problem persists, could you share any additional details or a minimal sample of your plugin code to help us reproduce it?

Yes it still persists, even with the corect config.json.
The icon I use in the config json does appear on the right, but when clicked the panel itself shows empty.
I would be happy to share a zip but I think the forum does not allow it.
So I will just paste my config.json here

{
	"name": "Adwallet Tools",
	"guid": "asc.{EEF1F462-1EA2-4391-AADF-4CC84940B754}",
	"version": "1.0.5",
	"baseUrl": "",
	"variations": [
		{
			"decription": "Adwallet Export Slide Configuration",
			"EditorsSupport": [
				"slide"
			],
			"isViewer": false,
			"isUpdateOleOnResize": false,
			"initOnSelectionChanged": false,
			"icons": [
				"resources/images/adwallet-logo-mini.png",
				"resources/images/adwallet-logo-mini@2x.png"
			],
			"url": "right-panel.html",
			"buttons": [],
			"type": "panelRight",
			"initDataType": "text",
			"initData": ""
		},
		{
			"description": "Menus",
			"url": "menus.html",
			"EditorsSupport": [
				"slide"
			],
			"events": [
				"onContextMenuShow",
				"onContextMenuClick"
			],
			"buttons": [],
			"type": "system"
		}
	]
}```

@ravenx86, :hugs:

Thank you for the detailed update and for sharing your config.json! We greatly appreciate your efforts in helping us understand the issue with the panelRight type.

To make it easier for us to reproduce the problem, could you please share your plugin?
Since the forum doesn’t support zip uploads, you can upload the archive to a third-party storage service and share the link here, or send it to me directly via private message.

I have included Dockerfile and docker compose file to easily reproduce the full setup.

1 Like

Hey @ravenx86, :wave:

Big thanks for sharing the plugin files, Dockerfile, and docker-compose setup!
I’ll definitely take a look as soon as I get a bit of free time.

Appreciate your patience :hugs:

1 Like

Hi @Nikolas,

Any update on this issue?

@ravenx86 :wave:

Apologies for the delay — I missed forwarding your question to the team earlier.
I’ve just passed it along and am clarifying the details now.

I’ll get back to you as soon as I have an update.

Hi, I’m facing the same issue — was there any conclusion or fix for it?

Hey @ravenx86, @Sonu, :wave:

We’ve logged the bug: Plugin content doesn’t display when "type": "panelRight" is set in config.json.

Good news — it should be fixed in one of the next two releases: 9.2 or 9.2.1.
The 9.2 update is coming in just a couple of weeks.

I’ll notify you as soon as it’s out. Thanks for your patience! :blush: