Onlyoffice form input to database

i didnt find in the guide, i found it checking the source code of the python integration example
ONLYOFFICE Api Documentation - Language-specific examples found in the link.
I’ve tried the parameter outside of the python app and the parameter works, so its not exclusive to python

The parameter is found in Python Example/src/views/actions.py approximately in the line 287

You needn’t have used this parameter. It’s a new parameter (recently added), but we didn’t test it properly yet and there’re no official documentation at the moment.
Please accept our apologies for this situation.

As for the situation in general (plugin trigger in .oform files), we’re looking into it. I will update this thread when we have something to share.

i’ve sort of figured it out
What i do to make the custom button show up is:
From the index.html of the plugin

  1. Get the parent iframe (the editor)
  2. With the parent iframe object get the plugin iframe (identified by the asc.{uuid-code})
  3. Modify the style of the plugin’s iframe to make the button show up
<script>
 let parentframe = window.parent.parent.frames[0]; //get editor iframe

 parentframe.document.getElementById('iframe_asc.{pluggin uuid-code}').style="custom css to place the button wherever i want"; // get plugin iframe and change its style
</script>

Result:
button result

We’re glad that you managed the situation. Please feel free to contact us if you face any difficulties.

BTW, what’s the idea behind the “submitForm” button?

Looks like the forms API documentation might’ve moved to here: ONLYOFFICE Api Documentation - Structure of a form

Hello @msilveira
We recently discussed it in the same thread: Onlyoffice form input to database - #23 by Alexandre
Unfortunately, there’s no official documentation at the moment.

Hello @Short-Stay
That’s right. The correct links of mentioned methods:
https://api.onlyoffice.com/plugin/executemethod/text/getallcontentcontrols
https://api.onlyoffice.com/plugin/executemethod/text/getcurrentcontentcontrol
https://api.onlyoffice.com/plugin/executemethod/form/getallforms

Hello, I hope you can guide or assist me as the case may be to determine the feasibility of my project in an OnlyOffice format. I want the information filled out to be saved in a PostgreSQL database, and when that information is modified, it should be reflected in the database as well. Additionally, I’d like the document to be available for future reference for individuals not familiar with databases.

Hello @paco_luna
Just to add a few words. Unfortunately, we don’t have ready-to-go solution for this request. But it seems that case is feasible, because there’re necessary methods to get a data from forms. However, we are working to provide samples for most usage scenarios as a guideline. I hope we will add step-by-step sample for this scenario one day.