asp.netiframeonlyoffice

How to send external data to OnlyOffice plugin


I am developing onlyoffice plugin, which need to consume data (like reportid, session details that will be used to load data from server) from launching application.

structure of page come out like:

launching page (editor.aspx) -- iframe 1 to load editor -- -- ifram 2 to load plugin

Here i want to access data from editor.aspx into iframe 2 (javascript)

I tried using queryString like window.parent.location.search but it only can traverse till iframe 1, but not main aspx page. As i don't have control on what loads in iframe 1 it didn't work.

Also i tried with cookies and localStorage but none worked out.

Please guide..


Solution

  • launching page (editor.aspx) -- iframe 1 to load editor -- -- ifram 2 to load plugin. Here i want to access data from editor.aspx into iframe 2 (javascript)

    There is no way to get direct access to the iframe with editor, the only way to work with it is using document server plugins