You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/collecting-user-feedback/collecting-user-feedback.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,19 @@ This comprehensive guide is designed to assist developers in integrating enhance
18
18
19
19
## Prerequisites
20
20
21
-
To prepare for this tutorial, ensure these requirements have been met:
22
-
23
21
-**Azure Subscription:** You need an active Azure subscription. If you don't have one, you can create a free account at [Azure Free Account](https://azure.microsoft.com/free/).
24
22
-**Azure Communication Services Resource:** An ACS resource is required to use calling and chat functionalities. You can create one in the Azure portal.
25
23
-**Development Environment Setup:** Ensure that your development environment is set up for one or more target platforms – Android, iOS, or web.
26
24
-**Azure Storage Account:** For storing user feedback and related data securely, an Azure Storage account is necessary.
27
25
-**Node.js and Express.js:** Basic knowledge of Node.js and Express.js is helpful for setting up the server-side application to receive and process support requests.
28
-
-**Knowledge of RESTful APIs:** Understanding how to create and consume RESTful APIs will aid in deployment and configuration of both the Client and Server.
26
+
-**Knowledge of RESTful APIs:** Understanding how to create and consume RESTful APIs aid in deployment and configuration of both the Client and Server.
29
27
-**Client Development Skills:** Proficiency in the development of Android or iOS applications
30
28
31
29
Having these prerequisites in place ensures a smooth start to integrating a comprehensive user feedback system using Azure Communication Services and other Azure resources.
32
30
33
-
## What you will learn
31
+
## What you learn
34
32
35
-
In this guide, you gain comprehensive insights into integrating user feedback mechanisms within your Azure Communication Services (ACS) applications. The focus is on enhancing customer support through the ACS UI Library, using Azure backend services for processing. By following this guide, developers will learn to:
33
+
In this guide, you gain comprehensive insights into integrating user feedback mechanisms within your Azure Communication Services (ACS) applications. The focus is on enhancing customer support through the ACS UI Library, using Azure backend services for processing. By following this guide, developers learn to:
36
34
37
35
-**Implement Client-Side Feedback Capture:** Learn how to capture user feedback, error logs, and support requests directly from Android and iOS applications using the ACS UI Library.
38
36
-**Set Up a Server-Side Application:** Step-by-step instructions on setting up a Node.js application using Express.js to receive, process, and store support requests in Azure Blob Storage. This server includes handling multipart/form-data for file uploads and securely managing user data.
@@ -58,7 +56,7 @@ Before you begin, ensure your development environment is ready with Node.js inst
58
56
59
57
1.**Install Node.js:** Make sure Node.js is installed on your system. You can download it from [Node.js](https://nodejs.org/).
60
58
61
-
2.**Create an Azure Blob Storage Account:** If you haven't already, create an Azure Storage account through the Azure Portal. This account will be used to store the support request data.
59
+
2.**Create an Azure Blob Storage Account:** If you haven't already, create an Azure Storage account through the Azure Portal. This account is used to store the support request data.
62
60
63
61
3.**Gather Necessary Credentials:** Ensure you have the connection string for your Azure Blob Storage account. It is required for the application to authenticate and store data in the cloud.
64
62
@@ -72,8 +70,8 @@ Before you begin, ensure your development environment is ready with Node.js inst
72
70
```
73
71
74
72
2. **Server Implementation:**
75
-
- Use Express.js to set up a basic web server that listens for POST requests on a specific endpoint (e.g., `/receiveEvent`).
76
-
- Use Formidable for parsing incoming form data, handling multipart/form-data content types which may include files.
73
+
- Use Express.js to set up a basic web server that listens for POST requests on a specific endpoint.
74
+
- Use Formidable for parsing incoming form data, handling multipart/form-data content.
77
75
- Generate a unique ticket number foreach support request, which can be used to organize datain Azure Blob Storage and provide a reference for users.
78
76
- Store structured data, such as user messages and log file metadata, in a JSON file within the Blob Storage. Store actual log files and any screenshots or attachments in separate blobs within the same ticket's directory.
79
77
- Provide an endpoint to retrieve support details, which involves fetching and displaying data from Azure Blob Storage.
@@ -92,7 +90,7 @@ Before you begin, ensure your development environment is ready with Node.js inst
92
90
- Use tools like Postman or write client-side code (as provided in the Android and iOS samples) to test the server's functionality. Ensure that the server correctly receives data, stores it in Azure Blob Storage, and can retrieve and display support details.
93
91
94
92
#### Server Code:
95
-
Provided here is a working implementation to start with. This is a basic implementation tailored to demonstrate ticket creation from the ACS UI Sample applications.
93
+
Provided here is a working implementation to start with. This code is a basic implementation tailored to demonstrate ticket creation from the ACS UI Sample applications.
96
94
97
95
```javascript
98
96
const express = require('express');
@@ -231,9 +229,11 @@ app.listen(port, () => {
231
229
232
230
## Client Side Setup
233
231
234
-
The following section will explain how to take the events generated feedback and consume deploy the issue to your servers.
232
+
The following section explains how to take the events generated feedback and consume deploy the issue to your servers.
233
+
234
+
Learn how to register for the event, serialize the data over the wire and receive it on your server.
235
235
236
-
You will learn how to register forthe event, serialize the data over the wire and receive it on your server. The result is that your ACS project will be able to dispatch these events to the Server we createdinthe first step and retrieve a link to the results.
236
+
The result will have the developer receive a link, which can be presented to the user inyour application.
237
237
238
238
::: zone pivot="programming-language-kotlin"
239
239
[!INCLUDE [Android](./includes/android.md)]
@@ -245,8 +245,8 @@ You will learn how to register for the event, serialize the data over the wire a
245
245
246
246
247
247
## Conclusion
248
-
Integrating user feedback mechanisms into applications using Azure Communication Services (ACS) is crucial for developing responsive and user-focused apps. This guide has provided a clear pathway for setting up both server-side processing with Node.js and client-side feedback capture for Android and iOS applications. Through such integration, developers can enhance application reliability and user satisfaction while utilizing Azure's cloud services for efficient data management.
248
+
Integrating user feedback mechanisms into applications using Azure Communication Services (ACS) is crucial for developing responsive and user-focused apps. This guide provides a clear pathway for setting up both server-side processing with Node.js and client-side feedback capture for Android and iOS applications. Through such integration, developers can enhance application reliability and user satisfaction while utilizing Azure's cloud services for efficient data management.
249
249
250
250
The guide outlines practical steps for capturing user feedback, error logs, and support requests directly from applicationss. Integration of support events ensures a secure and organized way to handle feedback, allowing developers to quickly address and resolve user issues, leading to an improved overall user experience.
251
251
252
-
By following the instructions detailed in this guide, developers can improve the responsiveness of their applications and better meet user needs. This not only helps in understanding user feedback more effectively but also utilizes cloud services to ensure a smooth and effective feedback collection and processing mechanism. Ultimately, integrating user feedback mechanisms is essential for creating engaging and reliable applications that prioritize user satisfaction.
252
+
By following the instructions detailed in this guide, developers can improve the responsiveness of their applications and better meet user needs. These integrations not only help in understanding user feedback more effectively but also utilizes cloud services to ensure a smooth and effective feedback collection and processing mechanism. Ultimately, integrating user feedback mechanisms is essential for creating engaging and reliable applications that prioritize user satisfaction.
0 commit comments