Get and Saving sfdt to server

I want to get sfdt data to save to database. but i cannot found API, function to get sfdt.


1 Reply 1 reply marked as answer

KD Kesavan D Syncfusion Team August 20, 2020 04:09 PM UTC

Hi Tong, 
  
Document editor provides API to return the document editor content as SFDT String. 


Sample code snippet 

Document editor container 
 
containerInstance.documentEditor.serialize(); // Returns JSON string. 
 
Document editor 
 
documentEditorInstance.serialize(); 
 


You can pass this string to server side to save. 

Kindly check this and let us know whether this helps. 
  
Regards, 
Kesavan. 


Marked as answer
Loader.
Up arrow icon