Search found 6 matches

by Serhii
Mon Jan 07, 2019 10:18 pm
Forum: Documents
Topic: Save file as HTML and Content Control
Replies: 1
Views: 241

Save file as HTML and Content Control

Hello, I am trying out the document server and found something strange thing: 1) I created very simple document (1 paragraph with plain text and Content control) scrdownlhtml.png 2) "File" - "Download as..." - HTML. 3) Saved file consists of paragraph and only simple text. Content Control was replac...
by Serhii
Mon Jan 07, 2019 9:56 pm
Forum: Plugins
Topic: InsertAndReplaceContentControls inline
Replies: 1
Views: 236

InsertAndReplaceContentControls inline

Hi! How to replace the existing inline "Content Control" with simple inline text? The example code from the documentation window.Asc.plugin.executeMethod('InsertAndReplaceContentControls', [[{ Props: { InternalId: currentCCInternalId }, Script: "var doc = Api.GetDocument(); var p = Api.CreateParagra...
by Serhii
Sat Dec 29, 2018 1:38 pm
Forum: Plugins
Topic: problem using InsertAndReplaceContentControls method
Replies: 3
Views: 347

Re: problem using InsertAndReplaceContentControls method

I just tried to use url from the sdkjs-plugins/examples/example_insert_content_and_document and it works perfectly: window.Asc.plugin.executeMethod('InsertAndReplaceContentControls', [[{ Props: {...}, Url: 'https://personal.onlyoffice.com/products/files/httphandlers/filehandler.ashx?action=view&file...
by Serhii
Sat Dec 29, 2018 12:45 pm
Forum: Plugins
Topic: problem using InsertAndReplaceContentControls method
Replies: 3
Views: 347

Re: problem using InsertAndReplaceContentControls method

I suppose the problem is described here The Document editing service cannot upload the file for editing. ... The link must be accessible from the document editing service . What this means? Is any restrictions for document editing service such as domain or IP? 1) I tried to download the DOCX docume...
by Serhii
Fri Dec 28, 2018 10:58 pm
Forum: Plugins
Topic: problem using InsertAndReplaceContentControls method
Replies: 3
Views: 347

problem using InsertAndReplaceContentControls method

Hi, I am trying to write plugin and got error "Download failed" i method InsertAndReplaceContentControls . It works when I use the syntax window.Asc.plugin.executeMethod("InsertAndReplaceContentControls", [{Props:..., Script:...}]); But I need to Insert another DOCX document as here https://github.c...
by Serhii
Mon Dec 24, 2018 11:11 pm
Forum: Plugins
Topic: Onlyoffice Desctop Editor plugin debug
Replies: 1
Views: 232

Onlyoffice Desctop Editor plugin debug

Hi, I am trying out plugins and have one question:

Has Onlyoffice Desktop Editor any console for developers?

I mean I can open browser console using the document server (attachment screen),
can I use something the same in Desktop version?
111.png
111.png (36.94 KiB) Viewed 232 times