Saving .docx file to a specific folder on the phone

Hi, 
I know how to manipulate a word file, but how can I save the generated .docx files to a specific folder on my phone?

For example, I want my generated file to be saved in a folder called "MyDocuments" in the external storage... how can I do that? 

Thanks,
Stefano

3 Replies 1 reply marked as answer

LB Lokesh Baskar Syncfusion Team March 26, 2021 08:46 PM UTC

Hi Stefano,

 

Thank you for contacting Syncfusion support.

Regarding save the generated .docx files to a specific folder.

To achieve your requirement, we suggests you to refer the below KB link to know more about how to save a file to a specified location based on your application project.
https://www.syncfusion.com/kb/10022/how-to-create-word-document-in-xamarin


Please let us know if you have any other questions.


Regards,

Lokesh B



ST Stefano March 26, 2021 08:59 PM UTC

Hi, 

I saw that post and tried but how can I create a new folder and save a file to that specific folder?

For example I want a folder on the SD card called "MyAppFiles" and inside save that word document

How could I do that?

Thanks 


LB Lokesh Baskar Syncfusion Team March 29, 2021 11:54 AM UTC

 
 
In the below documentation example, we have created a folder “Syncfusion” to save the document. Please refer the below documentation to save a document in created folder: 
https://www.syncfusion.com/kb/10022/how-to-create-word-document-in-xamarin

Kindly refer the helper files to know about achieve the same in different environment:
 
http://www.syncfusion.com/downloads/support/directtrac/general/HELPER~1-696201504.ZIP

Please refer the screenshot to know about how we create a new folder and save a file to that specific folder. Here we have saved the file under the name of “Syncfusion” folder.
 
 

Please lets us know if you have any other questions.

Regards,
 
Lokesh B 


Marked as answer
Loader.
Up arrow icon