Document Editor interation in web

Hello Team,

Based on the following url we created the sample 

after when I run the project the following error occurs. Please help me out.



4 Replies 1 reply marked as answer

M M replied to M June 3, 2020 07:49 AM UTC

Hello Team,

Based on the following url we created the sample 

after when I run the project the following error occurs. Please help me out.



Hello Team,

As per instructions in url (https://ej2.syncfusion.com/aspnetmvc/documentation/document-editor/getting-started/) I have created the project and when I run the project and try to open any documents its not responding and displaying in the error in console.log().

Please find the project attached....

Note: As the project size have been exceeds the limit. I have removed some folders.



Regards,
Gopalan M

Attachment: Query_f399b5ca.zip


HC Harini Chellappa Syncfusion Team June 3, 2020 06:21 PM UTC

Hi Gopalan, 

We have prepared the MVC document editor sample with title bar. You can download it from the below link. 


Document editor requires server-side interaction for the following services to work. other functionalities will work independently. 

1.       Importing word documents. 
2.       Paste with formatting. 
3.       Spell checking the document contents. 
4.       Restrict editing. 

we have to write Web API services. 

Any of the following Packages has to be installed. 

  
  
For your reference, please refer the below GitHub source for document editor services. 


you can host the service and set the launched url to serviceUrl property of document editor container. 

Please refer the below documentation on service url. 

  
please refer the provided sample, where we have added services and set serviceUrl to the document editor container. 

kindly check it and let us know if you need any further assistance on this. 

Regards, 

Harini C 



M M June 8, 2020 07:49 AM UTC

Hello Harini,

Thanks for the sample project. As per the samples provided I have run the project and updated the related components.

My requirements that need be accomplish are:

1. After configured the project when I run it displays the licencing message displays. How to stop that message. [Note: I have licence version only, Tell me how to disable the message.]
2. I need to open the document dynamically based on the user type when user goes to the page from website.
3 I need the export(as Doc) option in the project. I have tried the sample provided in the following URL


As per the instructions when I modified code and run the project the tool bars are missing.

Please help me to achieve the tasks.

Regards,
M. Gopalan



MA Mugunthan Anbalagan Syncfusion Team June 10, 2020 03:58 PM UTC

Hi Gopalan, 
 
Regarding "I have licence version only, Tell me how to disable the message" 
Please find the step to disable license warning in your sample from below documentation link. 
  
 
Regarding "Dynamically open document" 
 
Please refer below KB link to know more about dynamically load document from web server in document editor. 
  
 
In this above sample, we have added code to open document on button click. You can customize this option to open document based on the user information. 
Regarding "Export document in Doc format" 
 
Document Editor has support "Docx","SFDT", "Txt" in client side. To save it document "Doc" you need to send the document to server and convert it into doc format by using Syncfusion.DocIO library. 
  
Please refer below KB to know about how to save the document in server side.

https://www.syncfusion.com/kb/10295/how-to-open-and-save-file-from-server-using-ajax-call-in-asp-net-mvc
 
 
 
Kindly let us know if you need any further assistance on this  
Regards, 
Mugunthan A 


Marked as answer
Loader.
Up arrow icon