diff --git a/Document-Processing/Word/Word-Processor/vue/saving-documents/aws-s3-bucket.md b/Document-Processing/Word/Word-Processor/vue/saving-documents/aws-s3-bucket.md index f6b4ed617a..2295e3264a 100644 --- a/Document-Processing/Word/Word-Processor/vue/saving-documents/aws-s3-bucket.md +++ b/Document-Processing/Word/Word-Processor/vue/saving-documents/aws-s3-bucket.md @@ -8,17 +8,17 @@ documentation: ug domainurl: ##DomainURL## --- -# Save document to AWS S3 +# Save Documents to AWS S3 in Vue DOCX Editor -To save a document to AWS S3, you can follow the steps below +To save a document to AWS S3, follow the steps below. -**Step 1:** Create a Simple [Vue DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor) (Document Editor) sample in Vue +**Step 1:** Create a simple [Vue DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor) (Document Editor) sample in Vue. Follow the instructions provided in this [link](../getting-started) to create a simple Document Editor sample in Vue. This will give you a basic setup of the Document Editor component. -**Step 2:** Modify the `DocumentEditorController.cs` File in the Web Service Project +**Step 2:** Modify the `DocumentEditorController.cs` file in the web service project. -1. Create a web service project in .NET Core 3.0 or above. You can refer to this [link](../web-services-overview) for instructions on how to create a web service project. +1. Create a web service project in .NET Core 3.0 or above. You can refer to this [link](../web-services) for instructions on how to create a web service project. 2. Open the `DocumentEditorController.cs` file in your web service project. @@ -31,7 +31,7 @@ using Amazon.S3; using Amazon.S3.Model; ``` -4. Add the following private fields and constructor parameters to the `DocumentEditorController` class, In the constructor, assign the values from the configuration to the corresponding fields +4. Add the following private fields and constructor parameters to the `DocumentEditorController` class. In the constructor, assign the values from the configuration to the corresponding fields. ```csharp private IConfiguration _configuration; @@ -58,7 +58,7 @@ public DocumentEditorController(IWebHostEnvironment hostingEnvironment, IMemoryC [HttpPost] [EnableCors("AllowAllOrigins")] [Route("SaveToS3")] -//Post action for save the document to AWS S3 +//Post action to save the document to AWS S3 public void SaveToS3(IFormCollection data) { @@ -97,7 +97,7 @@ private string GetValue(IFormCollection data, string key) } ``` -6. Open the `appsettings.json` file in your web service project, Add the following lines below the existing `"AllowedHosts"` configuration +6. Open the `appsettings.json` file in your web service project. Add the following lines below the existing `"AllowedHosts"` configuration. ```json { @@ -114,11 +114,11 @@ private string GetValue(IFormCollection data, string key) } ``` -N> Replace **Your Access Key from AWS S3**, **Your Secret Key from AWS S3**, and **Your Bucket name from AWS S3** with your actual AWS access key, secret key and bucket name +N> Replace **Your Access Key from AWS S3**, **Your Secret Key from AWS S3**, and **Your Bucket name from AWS S3** with your actual AWS access key, secret key, and bucket name. -**Step 3:** Modify the index File in the Document Editor sample +**Step 3:** Modify the index file in the Document Editor sample -In the client-side, to export the document into blob the document using [`saveAsBlob`](https://ej2.syncfusion.com/vue/documentation/api/document-editor#saveasblob) and sent to server-side for saving in AWS S3 Bucket. +On the client side, export the document to a blob using [`saveAsBlob`](https://ej2.syncfusion.com/vue/documentation/api/document-editor#saveasblob) and send it to the server side for saving in an AWS S3 Bucket. ```typescript