Save document fails

Hello

I am following the example here:


I know this used to work, but now it seems to fail at line:

Dictionary<string, string> documentContent = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string, string>>(base64Data.ToString());

Any ideas?

Thanks


3 Replies

HC Harini Chellappa Syncfusion Team September 8, 2020 10:22 AM UTC

Hi Richard, 

Due to saveAsBlob API changes, you are facing issues on saving. Please change your save code snippet as like in the below screenshot to resolve the issue. 

 

We will update the above code snippet in documentation. 

Regards, 

Harini C 



DI Ditchford September 8, 2020 11:01 AM UTC

Hey Harini

Thanks, that works.


HC Harini Chellappa Syncfusion Team September 9, 2020 05:03 AM UTC

Hi Richard, 

Most welcome. 

Regards, 

Harini C 


Loader.
Up arrow icon